Code::Blocks Forums

User forums => Embedded development => Topic started by: Ronald on November 14, 2009, 10:30:57 pm

Title: WinARM
Post by: Ronald 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!
Title: Re: WinARM
Post by: mariocup 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.

Title: Re: WinARM
Post by: Ronald on November 15, 2009, 07:38:38 am
Mariocup,

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

-Ron