g2c

Patrick Dupre pd520 at york.ac.uk
Thu Jul 30 15:59:28 UTC 2009


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 at york.ac.uk
==========================================================================


More information about the fedora-list mailing list