------- Comment #5 from kargl at gcc dot gnu dot org 2009-05-01 14:08 ------- (In reply to comment #4) > (In reply to comment #3) > > I couldn't find any other gmp or mpfr in the system. > Also tried using the system's ld and as (both version 2.11.2) but the same > error pops up (see below). > Using ps ax I checked that the right versions of ld and as are used while > compiling. > > Any other idea on what to try?
/home2/gdb/local/src/gcc-4.1.2/configure --prefix=/home2/gdb/local/gcc-4.1.2 --enable-languages=c,fortran --with-gmp=/home2/gdb/local/gmp-4.1.3 --with-mpfr=/home2/gdb/local/gmp-4.1.3 --with-as=/home2/gdb/local/binutils-2.18/bin/as --with-ld=/home2/gdb/local/binutils-2.18/bin/ld Argh, I got side track thinking this was a MPFR/MP installation issue. Please read http://gcc.gnu.org/install/ In particularly, you can't build gcc in its source directory. Your above configure command shows pilot error. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39971