mixing GNU c and FORTRAN

Martin v. Loewis martin@loewis.home.cs.tu-berlin.de
Sat Apr 1 00:00:00 GMT 2000


	I am trying to port an existing program to a SUN workstation that has
   the GNU CC compiler (gcc) and GNU FORTRAN compiler (g77).  The existing
   program has modules in both languages.  In addition to calls going both
   ways, FORTRAN COMMON is accessed in the C modules.  The trailing underscore
   method is used to accomplish the interface.  GNU does not seem to accept
   this.  Can you direct me to any information on this?

Please have a look at the g77 manual, which comes in texinfo form -
especially the node (g77)Debugging and Interfacing.

Regards,
Martin



More information about the Gcc-help mailing list