Erwin, On Samstag, 20. Oktober 2007, Erwin Authried wrote: > 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.
Ah. So he needs a new toolchain.... > 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 Yes, I know. I have had to find this out for myself 8-( > , and the elf2flt ld script is for old > compilers with a different format of the ctor table. Can you elaborate on this one? I am using 4.0.4. with the elf2flt script, and up to now, all c++ programs behave. Can you tell me what is different for new compilers in the linker script? regards Wolfgang -- Das Leben kann nur rückwärts verstanden, muß aber vorwärts gelebt werden. _______________________________________________ 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
