How to fix SDCC 'at 1: warning 119: don't know what to do with file 'main.o'. file extension unsupported'
If you use SDCC to compile your C code for your microcontroller and you encounter an error message like this:
sdcc-warning.txt
at 1: warning 119: don't know what to do with file 'main.o'. file extension unsupported
you have to configure your build system to use the .rel
suffix for object files instead of the standard .o
. SDCC expects built object files to have the .rel
extension! See How to change CMake object file suffix from default “.o” for details on how to do that in CMake.
Check out similar posts by category:
Build Systems, Embedded
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow