I'm trying to bootstrap gcc on x86_64. Here is my configure line: ../gcc/configure --prefix=/home/ed/bin-4.3 --enable-languages=c,c++,fortran --with-gmp-dir=/home/ed/gcc/gmp-4.2.1 --with-mpfr-dir=/home/ed/gcc/mpfr-2.2.0 I just unpacked the GMP and MPFR source directories in the gcc source tree. My question is why does the configure check require the mpfr library to already be built when I put two source directories? It seems like it should just check the headers. Then it should configure and build those packages using the most useful flags for GCC. Ed
This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. configure:614: checking host system type configure:635: checking target system type configure:653: checking build system type configure:708: checking for a BSD compatible install configure:761: checking whether ln works configure:785: checking whether ln -s works configure:1850: checking for gcc configure:1963: checking whether the C compiler (gcc ) works configure:1979: gcc -o conftest conftest.c 1>&5 configure:2005: checking whether the C compiler (gcc ) is a cross-compiler configure:2010: checking whether we are using GNU C configure:2019: gcc -E conftest.c configure:2038: checking whether gcc accepts -g configure:2105: checking for gnatbind configure:2170: checking whether compiler driver understands Ada configure:2202: checking how to compare bootstrapped objects configure:2300: checking for correct version of gmp.h configure:2313: gcc -c -g -O2 -I/home/ed/gcc/mpfr-2.2.0 -I/home/ed/gcc/gmp-4.2.1 conftest.c 1>&5 configure:2328: checking for correct version of mpfr.h configure:2343: gcc -o conftest -g -O2 -I/home/ed/gcc/mpfr-2.2.0 -I/home/ed/gcc/gmp-4.2.1 conftest.c /home/ed/gcc/mpfr-2.2.0/libmpfr.a 1>&5 gcc: /home/ed/gcc/mpfr-2.2.0/libmpfr.a: No such file or directory configure: failed program was: #line 2330 "configure" #include "confdefs.h" #include <gmp.h> #include <mpfr.h> int main() { #if MPFR_VERSION_MAJOR < 2 || (MPFR_VERSION_MAJOR == 2 && MPFR_VERSION_MINOR < 2) choke me #endif mpfr_t n; mpfr_init(n); ; return 0; }