You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My project contains a collection of .h, .c, and .s files. When I attempt to compile using arm-none-eabi-gcc, only the .c files are compiled into object files, while the compiler doesn't process the .s files. This results in errors during the linking stage, as all the .c and .s files need to be compiled before being linked.
I have successfully compiled in the command line using arm-none-eabi-gcc with the following command:
My project contains a collection of .h, .c, and .s files. When I attempt to compile using arm-none-eabi-gcc, only the .c files are compiled into object files, while the compiler doesn't process the .s files. This results in errors during the linking stage, as all the .c and .s files need to be compiled before being linked.
I have successfully compiled in the command line using arm-none-eabi-gcc with the following command:
arm-none-eabi-gcc -march=armv7-r+fp -mtune=cortex-r5 -mfpu=fpv4-sp-d16 --specs=nosys.specs -T HL_sys_link.ld -Iinclude/ source/*.c source/*.s -o output.o
However, I am unsure how to instruct the toolchain in Eclipse C/C++ to ensure that .s files are compiled as well. Please assist me with this.
Thank you in advance.
The text was updated successfully, but these errors were encountered: