Hello
second pass of "binutils" failed at LFS book
http://www.linuxfromscratch.org/lfs/...ils-pass2.html
"configure" breaks with the issue
Code:
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for a sed that does not truncate output... /bin/sed
checking for gawk... gawk
checking for gcc... -gcc
checking for C compiler default output file name...
configure: error: in `/mnt/lfs/sources/binutils-build':
configure: error: C compiler cannot create executables
See `config.log' for more details.
config.log
Code:
configure:3981: checking for gcc
configure:4008: result: -gcc
configure:4237: checking for C compiler version
configure:4246: -gcc --version >&5
../binutils-2.25/configure: line 4248: -gcc: command not found
configure:4257: $? = 127
configure:4246: -gcc -v >&5
../binutils-2.25/configure: line 4248: -gcc: command not found
configure:4257: $? = 127
configure:4246: -gcc -V >&5
../binutils-2.25/configure: line 4248: -gcc: command not found
configure:4257: $? = 127
configure:4246: -gcc -qversion >&5
../binutils-2.25/configure: line 4248: -gcc: command not found
configure:4257: $? = 127
configure:4277: checking for C compiler default output file name
configure:4299: -gcc conftest.c >&5
../binutils-2.25/configure: line 4301: -gcc: command not found
configure:4303: $? = 127
configure:4340: result:
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| /* end confdefs.h. */
A "/mnt/lfs/tools/bin/i686-lfs-linux-gnu-gcc" is present. Does "configure" looking for this "-gcc"?