Xref: utzoo comp.lang.c:39348 comp.lang.fortran:5401 comp.unix.questions:31423 Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!udel!haven.umd.edu!mimsy!dftsrv!oneel From: oneel@heawk1.gsfc.nasa.gov ( Bruce Oneel ) Newsgroups: comp.lang.c,comp.lang.fortran,comp.unix.questions Subject: Re: Calling C from FORTRAN under Unix Message-ID: Date: 17 May 91 13:36:52 GMT References: <5343@dftsrv.gsfc.nasa.gov> <1991May17.023941.18053@zoo.toronto.edu> Sender: news@dftsrv.gsfc.nasa.gov Organization: STX/GSFC Nasa Lines: 13 In-reply-to: henry@zoo.toronto.edu's message of 17 May 91 02:39:41 GMT As an example, on sun os 4.1 with f77 1.3.1 (Henry said it was system dependent) you have to say EXTERNAL ABC,XYZ !$PRAGMA C(ABC,XYZ) or add an underscore to the c routine name in c. Needless to say, 30 words doesn't make up for 40 pages of sun manuals. 50 words would, but not 30 :-) bruce -- Bruce O'Neel oneel@heasfs.gsfc.nasa.gov NASA/GSFC/STX/Code 664