[uClibc]C++ support

David Meggy david at techsol.bc.ca
Thu Mar 14 01:16:19 UTC 2002


Ok, I've tried just the arm-elf and I also tried to make it simplier by
taking off -mthumb-interwork

and I get the following error when I try and compile gcc with C++ support

/home/david/build/gcc-elf-2/gcc/xgcc -B/home/david/build/gcc-elf-2/gcc/
-B/usr/local/armdev/tools/gcc3-cross//arm-elf/bin/
-B/usr/local/armdev/tools/gcc3-cross//arm-elf/lib/ -isystem
/usr/local/armdev/tools/gcc3-cross//arm-elf/include -c -DHAVE_CONFIG_H -g
-O2 -I. -I/home/david/source/gcc-3.0.4/libiberty/../include  -W -Wall
-Wtraditional -pedantic
/home/david/source/gcc-3.0.4/libiberty/strerror.c/home/david/source/gcc-3.0.4/libiberty/strerror.c:465: warning: static
declaration for `sys_nerr' follows non-static
/home/david/source/gcc-3.0.4/libiberty/strerror.c:466: conflicting types
for `sys_errlist'
/usr/local/armdev/tools/gcc3-cross/include/stdio.h:582: previous
declaration of
`sys_errlist'
make[1]: *** [strerror.o] Error 1
make[1]: Leaving directory `/home/david/build/gcc-elf-2/arm-elf/libiberty'
make: *** [all-target-libiberty] Error 2


To get this far I had to edit gcc's libiberty/configure file to get passed
the message the your compiler doesn't work.  I believe that is caused from
me building a cross compiler, since the compiler works fine for C code.


On Wed, 13 Mar 2002, Erik Andersen wrote:

> So far, the C++ toolchains that are working are built using
> arm-elf, and do not support shared libraries.  I've been working
> on getting the <arch>-linux toolchains working and I just about
> have everything working.  I'll post my toolchain, sources,
> Makefile, etc as soon as I finish the last bit off.  I am really
> hoping to finish it off today,
> 




More information about the uClibc mailing list