This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

In-tree build


Can someone send me a configure line for doing in-tree builds of mpc, mpfr,
and gmp with gcc 4.6.0? I¹m using the following line:

/Users/rouson/gcc-4.6.0/configure --program-suffix=-4.6 \
--enable-checking=release --prefix=/usr/local/gfortran \
--enable-languages=c,fortran --enable-version-specific-runtime-libs \
--build=x86_64-apple-darwin9 --host=x86_64-apple-darwin9 \
--target=x86_64-apple-darwin9 --disable-bootstrap --disable-multilib \
--with-libiconv-prefix=/opt/local \
--with-gmp=/Users/rouson/gcc-4.6.0/gmp-4-3-1 \
--with-mpfr=/Users/rouson/gcc-4.6.0/mpfr-2-4-1 \
--with-mpc=/Users/rouson/gcc-4.6.0/mpc-0.8

but configure doesn't seem to find gmp, mpfr, and mpc.  The error message is
below.

Damian




checking build system type... x86_64-apple-darwin9
checking host system type... x86_64-apple-darwin9
checking target system type... x86_64-apple-darwin9
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... /usr/bin/sed
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking for x86_64-apple-darwin9-gcc... no
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for x86_64-apple-darwin9-g++... no
checking for x86_64-apple-darwin9-c++... no
checking for x86_64-apple-darwin9-gpp... no
checking for x86_64-apple-darwin9-aCC... no
checking for x86_64-apple-darwin9-CC... no
checking for x86_64-apple-darwin9-cxx... no
checking for x86_64-apple-darwin9-cc++... no
checking for x86_64-apple-darwin9-cl.exe... no
checking for x86_64-apple-darwin9-FCC... no
checking for x86_64-apple-darwin9-KCC... no
checking for x86_64-apple-darwin9-RCC... no
checking for x86_64-apple-darwin9-xlC_r... no
checking for x86_64-apple-darwin9-xlC... no
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for x86_64-apple-darwin9-gnatbind... no
checking for gnatbind... no
checking for x86_64-apple-darwin9-gnatmake... no
checking for gnatmake... no
checking whether compiler driver understands Ada... no
checking how to compare bootstrapped objects... cmp --ignore-initial=16 $$f1
$$f2
checking for objdir... .libs
checking for the correct version of gmp.h... buggy but acceptable
checking for the correct version of mpfr.h... buggy but acceptable
checking for the correct version of mpc.h... yes
checking for the correct version of the gmp/mpfr/mpc libraries... no
configure: error: Building GCC requires GMP 4.2+, MPFR 2.3.1+ 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.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]