g2c

Jakub Jelinek jakub at redhat.com
Thu Jul 30 15:49:16 UTC 2009


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




More information about the fedora-list mailing list