Can mips target support libstdc++
jacky
jie.xia@263.net
Sun Apr 1 00:00:00 GMT 2001
>
>-- | Hi, all:
>|
>| I want to compile the toolchains for mips vr4300, but I
>| don't know how to compile the libstdc++ for mips. I configure and
>| build the tools using the following command:
>|
>| ./configure --target=mips64vr4300-elf --prefix=/home/newtools
>| --exec-prefix=/home/newtools/H-i686-pc-linux-gnu --with-gnu-as
>| --with-gnu-ld --with-newlib --enable-libstdcxx-v3 -v 2>&1 | tee
>| configure.out
>|
>| make -w all-gcc install-gcc LANGUAGES="c c++" 2>&1 | tee make.ou
>|
>| I use the gcc 20000313, binutiles 2.10, libstdc++ 200004 , but I failed
>| during make the toolchains, so I suspected the weather mips gcc can
>| support libstdc++, if it can support ,
>| can someone tell me how to build libstdc++?
>
>Could you tell us where the build stopped and seems to be the cause?
>
echo ${name}; \
/home/xj/tmp/build/gcc/gcc/xgcc -B/home/xj/tmp/build/gcc/gcc/
-B/home/newtools/H-i686-pc-linux-gnu/mips64vr4300-elf/bin/
-I/home/newtools/H-i686-pc-linux-gnu/mips64vr4300-elf/include -O2
-DCROSS_COMPILE -DIN_GCC -g -O2 -I./include -G 0 -g1 -DIN_LIBGCC2
-D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I.
-I../../../source/egcs-20000313/gcc
-I../../../source/egcs-20000313/gcc/config
-I../../../source/egcs-20000313/gcc/../include -c -DL${name} \
../../../source/egcs-20000313/gcc/libgcc2.c -o ${name}.o; \
if [ $? -eq 0 ] ; then true; else exit 1; fi; \
mips64vr4300-elf-ar rc tmplibgcc2.a ${name}.o; \
rm -f ${name}.o; \
done
_muldi3
as: unrecognized option
`-G'
make[3]: *** [libgcc2.a] Error 1
make[3]: Leaving directory `/home/xj/tmp/build/gcc/gcc'
make[2]: *** [stmp-multilib-sub] Error 2
make[2]: Leaving directory `/home/xj/tmp/build/gcc/gcc'
make[1]: *** [stmp-multilib] Error 1
make[1]: Leaving directory `/home/xj/tmp/build/gcc/gcc'
make: *** [all-gcc] Error 2
make: Leaving directory `/home/xj/tmp/build/gcc'
and i think there are not building tree of libstdC++ in
gcc-building-tree.
thank u
-----------
your jacky
More information about the Libstdc++
mailing list