[Bug libfortran/37564] collect2: ld returned 1 exit status make[3]: *** [libgfortran.la] Error 1
burnus at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Sep 17 19:10:00 GMT 2008
------- Comment #5 from burnus at gcc dot gnu dot org 2008-09-17 19:08 -------
> Currently I run make from /home/rkraft/apps/gcc-4.3.1
>
> Here is my configure:
>
> ./configure --prefix=/home/rkraft/apps/gcc4
Try:
cd /home/rkraft/apps/
mkdir gcc-4.3.1-build
cd gcc-4.3.1-build
../gcc-4.3.1/configure --prefix=/home/rkraft/apps/gcc4 \
--with-mpfr=/home/rkraft/apps/mpfr-2.3.2 --disable-multilib \
--enable-languages=fortran,c,c++ --with-gmp=/home/rkraft/apps/gmp-4.2.3 \
--with-gmp-lib=/home/rkraft/apps/gmp-4.2.3/lib \
--with-mpfr-lib=/home/rkraft/apps/mpfr-2.3.2/lib:
As Andrew already wrote: You should not build in the source directory but you
should build into another, empty directory like I did in the example above.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37564
More information about the Gcc-bugs
mailing list