User forums > Help
$link_objects build order
(1/1)
Vikingo:
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
stahta01:
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.
Vikingo:
That works!
Thanks a lot Tim!
Alex
Navigation
[0] Message Index
Go to full version