buildroot fails for ARM w/ gcc 4.1 and soft float
Khem Raj
khem at mvista.com
Sun May 21 21:26:46 UTC 2006
Lance Spaulding wrote:
>
>> 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.
you may be missing g++ in your path. I do build gcc 4.1 with soft-float
and dont have the problems with it.
try to clean the build tree before you start the configure process.
-Khem
More information about the uClibc
mailing list