Build issue with static libraries [message #1262501] |
Mon, 03 March 2014 18:00 |
michael schmid Messages: 4 Registered: November 2013 |
Junior Member |
|
|
I first posted on Eclipse general Forum, then re-posted here.
First let me say I can build my project using the same Linaro GCC eabi
tools chain without this issue, when invoking the build process from
the command line. Also I should mention that libraries are static
libraries.
My issue is when I try to build from within Eclipse ( using external
Linaro GCC non-linux) for some reason the linker reports undefined
procedure library names (symbols). The procedures that are giving me
issues are called from another library, I do have the link order
correct and set the same as when I build outside of eclipse. I even
went so far as to use --start-group with --end-group options for both
of the dependent libraries still no luck.
What I eventually had to do was add the linker option --whole-archive
when I build from Eclipse, but this is not required when I build the
project from the command line make.
Can someone help me to understand why I need to do this? Is there a better way to clean this up?
Any help here would be appreciated.
|
|
|
Powered by
FUDForum. Page generated in 0.03788 seconds