buildroot fails for ARM w/ gcc 4.1 and soft float
Lance Spaulding
lsjunk1 at cableone.net
Wed May 17 16:22:01 UTC 2006
> look into the config.log file which is created when running configure
> in your build directory that will give you more info on whats happening.
Here's the first error I see in the file:
configure:2880:
/root/lance/buildroot/toolchain_build_arm_nofpu/gcc-4.1.0-final/./gcc/xgcc
-B/root/lance/buildroot/toolchain_build_arm_nofpu/gcc-4.1.0-final/./gcc/
-B/usr/local/arm-uclibc-tools/arm-linux-uclibc/bin/
-B/usr/local/arm-uclibc-tools/arm-linux-uclibc/lib/ -isystem
/usr/local/arm-uclibc-tools/arm-linux-uclibc/include -isystem
/usr/local/arm-uclibc-tools/arm-linux-uclibc/sys-include -c -g -Os
conftest.c >&5
conftest.c:2: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'me'
configure:2886: $? = 1
configure: failed program was:
| #ifndef __cplusplus
| choke me
| #endif
Any idea why __cplusplus isn't defined in this case? It builds OK if I
dont use soft float and the patch you provided to get ast the other error.
Should gcc 4.1, uClibc, soft-float ARM build and work correctly? It
sounds like no-one else has tried it. Would I be better off trying the
current gcc 4.2 builds? I'm trying to get a armv6 capable compiler
which will build the uClinux dist.
Thanks,
Lance
More information about the uClibc
mailing list