self-contained cross-compiler?

Dan Kegel dank@kegel.com
Tue Dec 16 17:01:00 GMT 2003


Ken Wolcott wrote:

>   I placed LDFLAGS="-all-static" in the make for binutils and the following 
> happened...
> + mkdir -p build-binutils
> + cd build-binutils
> + test '!' -f Makefile
> + 
> /tuba_local/static_cross_tools/build/arm-arm9-linux-gnu/gcc-3.2.1-glibc-2.3.1-binutils-2.14.90.0.7-linux-2.4.22/binutils-2.14.90.0.7/configure \
> --target=arm-arm9-linux-gnu \
> --prefix=/tuba_local/static_cross_tools/result/arm-arm9-linux-gnu/gcc-3.2.1-glibc-2.3.1-binutils-2.14.90.0.7-linux-2.4.22
> ...
> creating Makefile
> + make LDFLAGS=-all-static all
> Configuring in libiberty
> configure: loading cache .././config.cache
> ...
> checking for library containing dlopen... configure: error: Link tests are not 
> allowed after GCC_NO_EXECUTABLES.
> make: *** [configure-libiberty] Error 1

Looks like this is a bug that slipped in when binutils switched to the
newer autoconf.  Try downgrading to binutils-2.14.90.0.5, maybe.
See
http://sources.redhat.com/ml/binutils/2003-08/msg00419.html
for an explanation and possible fix if you can't downgrade.

 > why is it looking for i686-pc-linux-xxx tools instead of xxx?

It tries the longer name first.  It's ok, I think.
- Dan

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com



More information about the crossgcc mailing list