Code::Blocks Forums
User forums => Embedded development => Topic started 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!
-
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.
-
Mariocup,
Thank you! This was my "missing link" to getting WinARM working with Code::Blocks!
-Ron