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

Offline anandamu16

  • Multiple posting newcomer
  • *
  • Posts: 96
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: 7590
    • 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 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline christobal

  • Multiple posting newcomer
  • *
  • Posts: 41
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.