This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Question concerning libf2c and libg2c
- To: rlau at csc dot com
- Subject: Re: Question concerning libf2c and libg2c
- From: Toon Moene <toon at moene dot indiv dot nluug dot nl>
- Date: Fri, 26 May 2000 21:36:31 +0200
- CC: gcs at sourceware dot cygnus dot com, gcc at gcc dot gnu dot org
- Organization: Moene Computational Physics, Maartensdijk, The Netherlands
- References: <852568EB.005903C7.00@csc.com>
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)