Author Topic: Startup file with extension .S  (Read 439 times)

Offline anandamu16

  • Multiple posting newcomer
  • *
  • Posts: 97
Startup file with extension .S
« 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

Offline stahta01

  • Lives here!
  • ****
  • Posts: 5870
    • My Best Post
Re: Startup file with extension .S
« Reply #1 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.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Testing, compiling CB Trunk against wxWidgets 3.0.2.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline christobal

  • Multiple posting newcomer
  • *
  • Posts: 40
Re: Startup file with extension .S
« Reply #2 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.