This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC 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]

[Bug libfortran/37564] collect2: ld returned 1 exit status make[3]: *** [libgfortran.la] Error 1



------- 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


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