[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Installing GCC-4.x in userspace / Compiling Octave from CVS
From: |
John W. Eaton |
Subject: |
Re: Installing GCC-4.x in userspace / Compiling Octave from CVS |
Date: |
Mon, 01 Oct 2007 21:53:12 -0400 |
On 1-Oct-2007, Sergei Steshenko wrote:
| Everything is compiled with gcc-4.2.1, which means it is compiled with
| gfortran, but while building 'lapack' I also gave path to gcc-3.4.6 libraries
| in order to satisfy the linker.
|
| I think that was needed for built-in self-tests.
|
| Here is the relevant part of 'make.inc' which comes with 'lapack':
|
| 19 FORTRAN =
/maxtor5/sergei/AppsFromScratchWD/install/gcc-4.2.1/bin/gfortran
| 20 OPTS = -funroll-all-loops -O3
| 21 DRVOPTS = $(OPTS)
| 22 NOOPT =
| 23 LOADER =
/maxtor5/sergei/AppsFromScratchWD/install/gcc-4.2.1/bin/gfortran
| 24 LOADOPTS = -L /maxtor5/sergei/AppsFromScratchWD/install/gcc-4.2.1/lib
-L
|
/maxtor5/sergei/AppsFromScratchWD/install/gcc-4.2.1/libexec/gcc/i686-pc-linux-gnu/4.2.1
-L
| /maxtor5/sergei/AppsFromScratchWD/install/gcc-3.4.6/lib -lgfortran -l g2c#
| .
If you compiled everything with gfortran, then this doesn't look right
to me. Does it also work if you remove the -lg2c and the -L option
that includes the gcc-3.4.6 directory? Where did the -lg2c come from?
Compiling a simple program with "gfortran -v" doesn't show any -lg2c
in the output, so I don't think compiling something with gfortran
should require -lg2c.
jwe
- Re: Installing GCC-4.x in userspace / Compiling Octave from CVS, Muthiah Annamalai, 2007/10/01
- Re: Installing GCC-4.x in userspace / Compiling Octave from CVS, Sergei Steshenko, 2007/10/01
- Re: Installing GCC-4.x in userspace / Compiling Octave from CVS, John W. Eaton, 2007/10/01
- Re: Installing GCC-4.x in userspace / Compiling Octave from CVS, Sergei Steshenko, 2007/10/01
- Re: Installing GCC-4.x in userspace / Compiling Octave from CVS, John W. Eaton, 2007/10/01
- Re: Installing GCC-4.x in userspace / Compiling Octave from CVS, Sergei Steshenko, 2007/10/01
- Re: Installing GCC-4.x in userspace / Compiling Octave from CVS, John W. Eaton, 2007/10/01
- Re: Installing GCC-4.x in userspace / Compiling Octave from CVS, Sergei Steshenko, 2007/10/01
- Re: Installing GCC-4.x in userspace / Compiling Octave from CVS,
John W. Eaton <=
- Re: Installing GCC-4.x in userspace / Compiling Octave from CVS, Sergei Steshenko, 2007/10/01
- Re: Installing GCC-4.x in userspace / Compiling Octave from CVS, Muthiah Annamalai, 2007/10/01
- Re: Installing GCC-4.x in userspace / Compiling Octave from CVS, Sergei Steshenko, 2007/10/02
- Re: Installing GCC-4.x in userspace / Compiling Octave from CVS, John W. Eaton, 2007/10/02
- Re: Installing GCC-4.x in userspace / Compiling Octave from CVS, Sergei Steshenko, 2007/10/02
- Re: Installing GCC-4.x in userspace / Compiling Octave from CVS, Sergei Steshenko, 2007/10/01