This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Cross-platform build problem

Hello Piotr,

* Piotr Wyderski wrote on Thu, Sep 09, 2010 at 12:24:07PM CEST:
> I'm trying to compile a GCC toolchain with target=arm-elf
> and hosted on Cygwin/PC. Unfortunately, both GCC 4.5.1,
> taken from the official mirror, and 4.6 trunk taken from SVN
> fail to compile with the following error message:
> checking dynamic linker characteristics... no
> checking how to hardcode library paths into programs... immediate
> checking for shl_load... configure: error: Link tests are not allowed after GCC_
> make[1]: *** [configure-target-libstdc++-v3] Error 1
> They were configured with:
> $ ../configure --prefix=/opt/arm/gcc-4.5.1 --target=arm-elf --enable-interwork
> --enable-multilib --enable-languages=c,c++

The explanation for this is probably analog to
and the current set of configure cache variables you might have to
override can be found at
(there's one more missing for IRIX that I know of).

So a workaround would be to manually add

to $target/libstdc++-v3/config.cache, and then rerunning make.

This still needs to be fixed in an automatic way.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]