This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libfortran/37564] collect2: ld returned 1 exit status make[3]: *** [libgfortran.la] Error 1
- From: "burnus at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Sep 2008 19:08:56 -0000
- Subject: [Bug libfortran/37564] collect2: ld returned 1 exit status make[3]: *** [libgfortran.la] Error 1
- References: <bug-37564-16718@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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