arm-elf-gcc 4.6.0 build failure

Ian Lance Taylor iant@google.com
Tue Mar 29 03:22:00 GMT 2011


Massimiliano Cialdi <massimiliano.cialdi@powersoft.it> writes:

> configure --enable-languages=c,c++ --target=arm-elf --with-gnu-as
> --with-gnu-ld --prefix=$INSTALLDIR --with-newlib --disable-shared
> --enable-newlib --enable-multilib --enable-interwork --disable-threads
> --disable-nls --enable-libstdcxx-allocator=malloc

Unless you specifically need arm-elf, I recommend that you use
--target=arm-eabi.  Yes, this is not documented.  However, this is not
your problem.

What OS are you running on?

I don't know why this is happening, but if you have zlib installed you
can probably avoid the problem by adding --with-system-zlib to your
configure line.

Ian



More information about the Gcc-help mailing list