This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


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: self-contained cross-compiler?


On Tuesday 16 December 2003 10:58, Dan Kegel wrote:
> 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

Hi Dan;

  I tried binutils-2.14.90.0.5, same result.  I looked at the URL you 
referenced.  I'm not sure I grok it :-(

  Should I create a fake i686 cross chain for the arm9 cross chain to build 
from?  That's bogus :-)

  I was hoping not to have to do things the LFS way :-(

Ken

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


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