From: toy@soho.crd.ge.com (Raymond L. Toy) Subject: Re: FORTRAN on linux Date: Wed, 30 Jun 1993 17:47:36 GMT
In article <BILL.93Jun30095822@yossarian.ucsd.edu> bill@yossarian.ucsd.edu (Bill Reynolds) writes:
[stuff deleted]
confusing enough already :-). Another problem with f2c generated code
is that it's much more complicated to debug - although it is possible
- the generated C is unadulterated spaghetti.
Actually, it's not really that bad. The generated C is truly
unreadable, but there was an option to f2c to leave the generated C
files with the original Fortran code as comments. When debugging,
just ignore the C and look at the Fortran.
This worked pretty well when I used this method on a Sun386 with gcc
and gdb. Almost as good as using a real Fortran compiler. (The
Sun386 compiler at the time was broken, so I replaced it with f2c.)
Ray