[uClinux-dev] Does ucfront work with libstdc++.a?

kitefree kitefree at so-net.net.tw
Mon Oct 22 09:12:38 EDT 2007


Hi Wolfgang,
I have tried your suggestion, to add ""-fpic -msingle-pic-base" for linker, but
C++ construction is still not working. 

Hi Erwin,
>It's generally true that you have to supply -fpic -msingle-pic->base to
>the linker. With the 3.4.4 snapgear toolchain, this won't help >either,
>because the compilers libs are compiled without -msingle-pic-base. >There
>are other reasons why c++ won't work. As far as I remember, >ucfront-g++
>doesn't supply the right libraries for calling the
>constructors/destructors, and the elf2flt ld script is for old >compilers
>with a different format of the ctor table.



More information about the uClinux-dev mailing list