one more try with binutils ... anybody ?

Steve Crosbty fost at hotmail.com
Sat Dec 25 22:33:37 PST 2004


Olaf Gruettner <olaf.gruettner at web.de> wrote in
news:1104036752.1185.23.camel at knuffel: 

> Am Son, 2004-12-26 um 04.25 schrieb Steve Crosby:
>
>> 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?
> 

okay, lets see if your gcc is working. Do the following:

cd /tmp
echo 'main(){}' > dummy.c
cc dummy.c
./a.out
readelf -l a.out

If that fails, your host GCC appears faulty somehow. If that succeeds:

check that the /mnt/lfs partition has not been mounted noexec, or 
noatime...

- --
Steve Crosby



More information about the lfs-support mailing list