LFS-svn chap 6.7 (gcc: No such file or directory)

Martin Zajíc <ZAJCA> zajcaa at gmail.com
Tue Sep 7 14:40:27 PDT 2010


> On Sun, 2010-09-05 at 13:22 +0200, Martin Zajíc wrote:
>> And errors in configure, make, make install scripts detecting
>> automatically and stop build.
>
> Are you sure? Until recently, that's what I *thought* my scripts were
> doing, until one of the aforementioned "obscure problems" convinced me
> otherwise. Turned out the error detection had been broken by a change
> I'd made to the scrips a few months earlier...
>
It's not 100% but for now all comands working I checked it. Only
problem is that GCC (all gcc binaries) is bad linked, but only GCC
nothink else.

ldd /mnt/lfs/tools/bin/gcc
        linux-gate.so.1 =>  (0xb7890000)
        libc.so.6 => /lib/libc.so.6 (0xb770d000)
        /lib/ld-linux.so.2 (0xb7891000)


GCC my PC
gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-pc-linux-gnu/4.5.1/lto-wrapper
Target: i686-pc-linux-gnu
Configured with: ../configure --prefix=/usr
--enable-languages=c,c++,fortran,objc,obj-c++,ada --enable-shared
--enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
--enable-gnu-unique-object --enable-lto --enable-plugin
--disable-multilib --disable-libstdcxx-pch --with-system-zlib
--with-ppl --with-cloog --libdir=/usr/lib --libexecdir=/usr/lib
--mandir=/usr/share/man --infodir=/usr/share/info
Thread model: posix
gcc version 4.5.1 (GCC)

GCC LFS
/mnt/lfs/tools/bin/gcc -v
Using built-in specs.
COLLECT_GCC=/mnt/lfs/tools/bin/gcc
COLLECT_LTO_WRAPPER=/mnt/lfs/tools/bin/../libexec/gcc/i686-pc-linux-gnu/4.5.1/lto-wrapper
Target: i686-pc-linux-gnu
Configured with: ../gcc-4.5.1/configure --prefix=/tools
--with-local-prefix=/tools --enable-clocale=gnu --enable-shared
--enable-threads=posix --enable-__cxa_atexit --enable-languages=c,c++
--disable-libstdcxx-pch --disable-multilib --disable-bootstrap
--with-gmp-include=/mnt/lfs/build/gmp
--with-gmp-lib=/mnt/lfs/build/gmp/.libs --without-ppl --without-cloog
Thread model: posix
gcc version 4.5.1 (GCC)



--
Martin Zajíc
E-mail: zajcaa at gmail.com
Jabber: zajcaa at gmail.com
Twitter: http://twitter.com/zajca



More information about the lfs-support mailing list