[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GEMPAK #JUX-858931]: PGF fortran code and gnu-built gempak libraries



> Can you provide any guidance for writing and compiling fortran code, 77
> or 90, using the PGF compiler and GEMPAK libraries built with the
> default gnu gcc and g77 compiler builds?
> 

Neil,

I don't have any experience mixing the usage. Both require the use of
the "_" character in the C calls to a fortran routine, and the g77 code
would be compiled with the no_second_underscore flag, so that should be 
compatible.
You will probably have to add to your link line some GLIB specific libraries, 
including the
libg2c gnu library for g77 if you are using pgf77 as the linker.

Steve Chiswell
Unidata User Support

Ticket Details
===================
Ticket ID: JUX-858931
Department: Support GEMPAK
Priority: Normal
Status: Closed