Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site linus.UUCP Path: utzoo!linus!sid From: sid@linus.UUCP (Sid Stuart) Newsgroups: net.lang.c,net.lang.f77,net.unix-wizards Subject: Re: linking c and f77 programs Message-ID: <868@linus.UUCP> Date: Tue, 3-Apr-84 21:19:38 EST Article-I.D.: linus.868 Posted: Tue Apr 3 21:19:38 1984 Date-Received: Wed, 4-Apr-84 03:38:24 EST References: <2123@tektronix.UUCP> Organization: MITRE Corp., Bedford MA Lines: 14 One paper that talks about mixing c and f77 is in Vol 2B of the Bell manuals released with 4.1 bsd. It is paper number 21 Section number 4 talks about the c-f77 interface. I think I have seen another reference on this but I have forgotten where. It should be another of the Unix papers. If I remember correctly, I once helped a user call some fortran routines from pascal. I think it involved archiving the fortran objects and then editing the resulting library to zap an offending "_" in the name. When the archive is edited, you also have to insert a null somewhere in the file to keep a character count correct. And of course you have to get the parameter passing right. sid@linus.UUCP