bam@bnlux0.bnl.gov (Bruce Martin) (10/02/89)
In article <1486@bnlux0.bnl.gov> I wrote: > >... "There is an excellent article by Stu Feldman, which describes >how Fortran and C argument lists correspond, what extra information is >added (e.g. to convey type and string-length information), how complex >numbers are handled (with pointers to static structures), how string lengths >are passed, why procedure parameters always require type information, and >many more fascinating details. For these two compilers, a correspondence >is established between C and Fortran, regardless of the hardware." ... > Having received a few email requests for a more specific reference, I am posting what information I have about the paper. Stu Feldman presented a paper about a "portable Fortran 77 compiler" at a SIGPLAN Compiler Construction conference, held at the Brown Palace Hotel in Denver, in 1979, I think. I don't recall whether there was a co-author. At the moment, I am looking at a similar (or perhaps identical) paper by S. I. Feldman and P. J. Weinberger, entitled "A Portable Fortran 77 Compiler", which appears on pages 2-89 thru 2-109 of Volume II ("Programmers") of the "ULTRIX-32 Supplementary Documents" (Digital Equipment Corp. No. AA-BG67A-TE). It is preceded (on pages 2-79 ff) by a paper by David L. Wasley, entitled "Introduction to the f77 I/O Library". Similar papers appear in the document sets for most Unix systems of the Berkeley persuasion. The Feldman & Weinberger paper also applies to f77 work-alikes, such as the Green-Hills compiler (supplied by OASYS). Information given in this paper was very complete and extremely helpful, not only for using f77 and cc together, but also for dealing with calls between code from other C & Fortran compilers. Sorry for the partial reference. I had thought the paper was more well known. -/s/- BAM Bruce A. Martin Grumman Aircraft Systems [Address given for identification only.] (Mailstop B02-106) [Every conceivable disclaimer applies!!] Bethpage, NY 11714 [Opinions are mine only, & will change,] (516) 577-1426 [without notice, whenever appropriate!!] N.B. The "Organization" entry in the prolog, is incorrect. BNL is kind enuf to provide me with net access, but I am not affiliated and with the laboratory and in no way represent it (altho I was on staff there from 1966 thru 1980.) (Unfortunately, I don't know how to suppress this entry on postings, and would appreciate helpful email on how to suppress do so.)