one more try with binutils ... anybody ?

Olaf Gruettner olaf.gruettner at web.de
Sat Dec 25 20:52:33 PST 2004


Am Son, 2004-12-26 um 04.25 schrieb Steve Crosby:
> Olaf Gruettner <olaf.gruettner at web.de> wrote in
> news:1104029189.1185.19.camel at knuffel: 
> 
> > Hi,
> > still having problems compiling binutils-first pass, but getting
> > closer: 
> > 
> > 4: ../binutils-2.15.91.0.2/configure --prefix=/tools --disable-nls
> > creating cache ./config.cache
> > checking host system type... i686-pc-linux-gnu
> > checking target system type... i686-pc-linux-gnu
> > checking build system type... i686-pc-linux-gnu
> > checking for a BSD compatible install... /bin/install -c
> > checking whether ln works... yes
> > checking whether ln -s works... yes
> > checking for gcc... gcc
> > checking whether the C compiler (gcc  ) works... yes
> > checking whether the C compiler (gcc  ) is a cross-compiler... yes
> 
> this is a problem - why does gcc think it's cross compiling?
> check the confg.log for this test.
configure:4372: checking for i686-pc-linux-gnu-ld
configure:4405: checking for ld
configure:4444: checking for i686-pc-linux-gnu-nm
configure:4477: checking for nm
configure:4516: checking for i686-pc-linux-gnu-ranlib
configure:4549: checking for ranlib
configure:4588: checking for i686-pc-linux-gnu-windres
configure:4621: checking for windres
configure:4706: checking whether to enable maintainer-specific portions
of Makefiles
configure:4753: checking if symbolic links between directories work

> make sure your CFLAGS and CXXFLAGS are not set
lfs:/mnt/lfs/sources/binutils-build$ echo $CFLAGS $CXXFLAGS
                                                                                                                            
lfs:/mnt/lfs/sources/binutils-build$

> make sure CC is not set
lfs:/mnt/lfs/sources/binutils-build$ echo $CC
                                                                                                                            
lfs:/mnt/lfs/sources/binutils-build$

> what does gcc -v display?
gcc -v
Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2/specs
Configured with: ../gcc-3.2/configure --prefix=/usr --enable-shared
--enable-languages=c,c++ --enable-threads=posix --with-slibdir=/lib
--enable-__cxa_atexit --enable-clocale=gnu
Thread model: posix
gcc version 3.2
lfs:/mnt/lfs/sources/binutils-build$


does this help?




More information about the lfs-support mailing list