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]

Re: Question concerning libf2c and libg2c


rlau@csc.com wrote:

> Has anyone worked on libf2c or libg2c? If so, is there a documented version
> where the
> source is documented and where the functions are briefly explained.

Short answer: No.  Long answer: I don't think so.

> I understand the basic
> idea behind some of the functions and how they work in conjunction with a
> FORTRAN program,
> but I am really baffled when I run the code thru a debugger.  I am sure the
> author of the code
> is a very good programmer, but some of the naming convention and programming
> practices
> are beyond my comprehension.

You bet - they're also beyond mine.  My pet peeve theory is that the C
code is just translated verbatim from some assembler version of this
code.

I have debugged several functions of lib[fg]2c in the past.  If you have
a specific error report, just drop it at gcc-bugs@gcc.gnu.org and I'll
look into it.

Cheers,

-- 
Toon Moene - mailto:toon@moene.indiv.nluug.nl - phoneto: +31 346 214290
Saturnushof 14, 3738 XG  Maartensdijk, The Netherlands
GNU Fortran 77: http://gcc.gnu.org/onlinedocs/g77_news.html
GNU Fortran 95: http://g95.sourceforge.net/ (under construction)

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