This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
RE: Problem with libg2c
- From: "Rupert Wood" <me at rupey dot net>
- To: "'Athichart Tangpong'" <tangpong at cse dot psu dot edu>
- Cc: <tprince at myrealbox dot com>, <gcc-help at gcc dot gnu dot org>
- Date: Sat, 22 Jul 2006 11:03:07 +0100
- Subject: RE: Problem with libg2c
- References: <44B484B0.2020608@cse.psu.edu> <44B5A0DA.8030007@sbcglobal.net>
> Athichart Tangpong wrote:
>
> > Dear Sir,
> >
> > I have a problem with libg2c on a newly-installed Fedora Core 5
> > system. When I compile programs that require libg2c, I have got
> > this error.
It's also possible you no longer need libg2c: it (IIRC) is for g77 the old
Fortran implementation that has been replaced by gfortran. (That said you
may need to link something else instead for gfortran but I don't know enough
about it.)
The one you found on disk:
> > /usr/lib/gcc-lib/i386-redhat-linux/3.2.3/libg2c.so
> > /usr/lib/gcc-lib/i386-redhat-linux/3.2.3/libg2c.a
is for the old compatibility compiler: Fedora Core 5's system compiler is
gcc 4.1 not 3.2.3. Or you could try building your program with that compiler
instead.
Rup.