Author Topic: WinARM  (Read 6836 times)

Offline Ronald

  • Single posting newcomer
  • *
  • Posts: 2
WinARM
« on: November 14, 2009, 10:30:57 pm »
When using the command macro $link_objects, the file names seem to be emitted in the order which the source files appear in the project view. Is there any way to alter that order?

For example, a project consists of boot.s (startup code) and main.c. $link_objects evaluates to "main.o boot.o". Is there any way to get this to become "boot.o main.o"?

Thanks!

Offline mariocup

  • Moderator
  • Lives here!
  • *****
  • Posts: 587
Re: WinARM
« Reply #1 on: November 14, 2009, 11:36:22 pm »
Hi Ronald,

see the CB manual section 1.11.14  Object linking order at http://www.codeblocks.org/docs/main_codeblocks_en.html for details.


Offline Ronald

  • Single posting newcomer
  • *
  • Posts: 2
Re: WinARM
« Reply #2 on: November 15, 2009, 07:38:38 am »
Mariocup,

Thank you! This was my "missing link" to getting WinARM working with Code::Blocks!

-Ron