Code::Blocks Forums
User forums => Help => Topic started by: Vikingo on February 18, 2014, 01:34:24 am
-
Hi, I have a project (main.c) which depends on other source files (bla.c blabla.c, etc). I'm using SDCC compiler
Everything builds ok but the link command passes my main.rel as the last object to link when the compiler asks for it to be the first parameter.
How can I invert (or decide my myself) how the $link_objects should be built?
Can I just reverse the order somehow from the GUI?
Thanks in adv advance
Alex
-
IIRC, right click on file properties look for the weight setting make it lower; normally I use 0 to get it the first file compiled/linked.
Tim S.
-
That works!
Thanks a lot Tim!
Alex