This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Problem with libg2c


> 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.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]