News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

Startup file with extension .S

Started by anandamu16, March 14, 2017, 08:36:14 AM

Previous topic - Next topic

anandamu16

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

stahta01

Please re-write your question like someone who knows the difference between Code::Blocks the IDE/Editor and a your compiler!

Tim S.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

christobal

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.