Le 08/01/2014 11:11, Alexander Tampermeier a écrit :
Book version: GIT-20140106-x86_64-Multilib
Host: CLFS GIT-20130724-x86_64-Multilib
$CLFS_HOST: x86_64-cross-linux-gnu
$CLFS_TARGET: x86_64-unknown-linux-gnu
$BUILD32: -m32
$BUILD64: -m64


Hi!

I got stuck in chapter "6.10. GCC-4.8.2". When issuing the command
"cp -v Makefile{,.orig}" I get the error message "cp: cannot stat 'Makefile': No such file or directory".

There is no "Makefile" in gcc-build. The only file in gcc-build is "config.log". I suspect the prior command "CC="${CC} ${BUILD64}" CXX="${CXX} ${BUILD64} ....." should generate "Makefile" but it does not (please, see complete listing of the output of the commands of chapter 6.10 below).

What have I missed that no Makefile was generated? Any help is highly appreciated.

Best regards
Alexander



[...]

clfs:~/gcc-build$ CC="${CC} ${BUILD64}" CXX="${CXX} ${BUILD64}" \
>   ../gcc-4.8.2/configure --prefix=/tools \
>   --libdir=/tools/lib64 --build=${CLFS_HOST} --host=${CLFS_TARGET} \
> --target=${CLFS_TARGET} --libexecdir=/tools/lib64 --with-local-prefix=/tools \ > --enable-long-long --enable-c99 --enable-shared --enable-threads=posix \
>   --disable-nls --enable-__cxa_atexit --enable-languages=c,c++ \
> --disable-libstdcxx-pch --enable-cloog-backend=isl --with-gmp=/tools \
>   --with-mpfr=/tools --with-mpc=/tools --with-isl=/tools \
>   --disable-isl-version-check --with-cloog=/tools --with-system-zlib \
>   --with-native-system-header-dir=/tools/include --disable-libssp \
>   --disable-install-libiberty  --enable-libstdcxx-time \
>   --enable-checking=release
[...]

checking for the correct version of mpc.h... no
configure: error: Building GCC requires GMP 4.2+, MPFR 2.4.0+ and MPC 0.8.0+.
Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify
their locations.  Source code for these libraries can be found at
their respective hosting sites as well as at
ftp://gcc.gnu.org/pub/gcc/infrastructure/.  See also
http://gcc.gnu.org/install/prerequisites.html for additional info.  If
you obtained GMP, MPFR and/or MPC from a vendor distribution package,
make sure that you have installed both the libraries and the header
files.  They may be located in separate packages.
There is an error during configure, so no files are generated. It looks like MPC has not been installed. Either you forgot the "make install" part, or you somehow missed completely the install of MPC, or maybe an error occured during the MPC build. I think you have to check your logs.

Regards
Pierre

_______________________________________________
Clfs-support mailing list
Clfs-support@lists.cross-lfs.org
http://lists.cross-lfs.org/listinfo.cgi/clfs-support-cross-lfs.org

Reply via email to