[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: g2c



Thank

On Thu, Jul 30, 2009 at 04:42:07PM +0100, Patrick Dupre wrote:
Can body test if the library libg2c.so works properly with Fedora11
x86_64

I installed
compat-gcc-34-3.4.6-13.x86_64.rpm
compat-gcc-34-g77-3.4.6-13.x86_64.rpm
compat-libf2c-34-3.4.6-13.x86_64.rpm
compat-gcc-34-c++-3.4.6-13.x86_64.rpm

But gcc -shared -lg2c
always gives me:
/usr/bin/ld: cannot find -lg2c

You should use gcc34 -shared -lg2c instead, libg2c is a GCC 3.4.x
compatibility library only (all newer GCCs have -lgfortran library instead
and you realy should be using gfortran rather than g77).

	Jakub



--
---
==========================================================================
 Patrick DUPRÉ                      |   |
 Department of Chemistry            |   |    Phone: (44)-(0)-1904-434384
 The University of York             |   |    Fax:   (44)-(0)-1904-432516
 Heslington                         |   |
 York YO10 5DD  United Kingdom      |   |    email: pd520 york ac uk
==========================================================================

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]