Code::Blocks Forums

User forums => Embedded development => Topic started by: anandamu16 on March 14, 2017, 08:36:14 am

Title: Startup file with extension .S
Post by: anandamu16 on March 14, 2017, 08:36:14 am
Hi, I am recently working on ARM project, that use startup file name "cm0.S" (S in Uppercase).
I want to know, whether I can use .S file or I have to convert it into .asm file then only I can use it?

Compiler using: GNUGCC Compiler for ARM, Codeblocks 16.01, Windows
Title: Re: Startup file with extension .S
Post by: stahta01 on March 14, 2017, 01:08:57 pm
Please re-write your question like someone who knows the difference between Code::Blocks the IDE/Editor and a your compiler!

Tim S.
Title: Re: Startup file with extension .S
Post by: christobal on March 14, 2017, 01:20:30 pm
With GCC, you should be able to use the .S files directly. Just add them to your project like you would do with .c files.