Xref: utzoo comp.lang.c:11565 comp.lang.fortran:942 Path: utzoo!utgpu!attcan!uunet!wucs1!wucs2!adiron!jdp From: jdp@adiron.UUCP (Powell) Newsgroups: comp.lang.c,comp.lang.fortran Subject: Re: How do I access f77 common variables from C ? Summary: On some systems ... on others ... Message-ID: <387@adiron.UUCP> Date: 27 Jul 88 17:11:12 GMT References: <1324@maccs.McMaster.CA> <23114@labrea.Stanford.EDU> Distribution: na Organization: PAR Technology, New Hartford, NY Lines: 12 On some systems, the global structure works (Berkeley). On at least SILICON GRAPHICS, a structure has to be defined in C and the common block in Fortran and a subroutine accepting a pointer to the first type in the common area has to be written in Fortran and called by C with the pointer to the structure. In addition, a bridge routine has to be created in order to call Fortran from C. Good Luck. jdp