This is the mail archive of the gcc@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: G77 question (re: libg2c)


libg2c is the library for Fortan routines, it is written in c.

The name is way it is because they were originally for f2c.

g77 is a real compiler unlike f2c were f2c converts the fortan code into c.

Thanks,
Andrew Pinski



On Saturday, July 27, 2002, at 03:00 , Gregory Z wrote:

My friends:

Does libg2c have anything to do with c? The question boils
down to whether there is much difference in concept between
g77 and f2c (or f77 and f2c, for that matter). What has me
hooked on this question is the "to c" implied in the moniker
"libg2c". I understand that libg2c is a set of libraries to
handle GNU Fortran routines that the compiler does not do
directly. Are these libraries written originally in C? Or in
assembler?

Incidentally, I am using this on Win32, and looking forward
to full F90 and 95 capability (Fortran 2000 is a long ways
off, I'm sure). I first used Fortran in high school in 1976,
haven't seen it much since, and it is a pleasure to have my
own system with Fortran on it now. Thanks so much!

Gregory Zelchenko


--
There are only two ways to live your life.
One is as though nothing is a miracle.
The other is as though everything is a miracle."
-Albert Einstein










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