Nero, On Samstag, 20. Oktober 2007, kitefree wrote:
> Recently I have been working on c++ program with uClinux-dist. And I > found there seems to be some problem with using ucfront-g++ with > libstdc++.a(gcc 3.4.4). As you can see how I build my C++ program, > /home/nerokuo/uClinux/tools/ucfront-g++ arm-linux-g++ -D__PIC__ -fpic > -msingle-pic-base -msoft-float -Wall -c main.cpp > /home/nerokuo/uClinux/tools/ucfront-g++ arm-linux-g++ > -L/home/nerokuo/uClinux/uClibc/lib -Wl,-elf2flt -Wl,--fatal-warnings > -o helloworld main.o -msoft-float -lstdc++ You missed "-fpic -msingle-pic-base" for the linker. The linker needs this flags to select the correct version of the libraries. 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
