>>Am Samstag, den 20.10.2007, 19:25 +0200 schrieb Wolfgang Mües: 
>> Nero,
>> 
>> You missed "-fpic -msingle-pic-base" for the linker.
>> The linker needs this flags to select the correct version of the 
>> libraries.

Thanks a lot, Wolfgang. I will try your suggestion soon and let
you know the result.

>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.

>Regards,
>Erwin

Thanks Erwin.
Do you mean that even I use the most up-to-date uClinux-dist and
arm toolchain packages, the c++ constructors/destructors still don't
work? Or any other means I can try to make it work?

Regards,

Nero


_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to