Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 

Re: G95: just say no to second underscore

Mark Hadfield <m.hadfield@xxxxxxxxxx> writes:

> A clarification: Gfortran, aka Gnu Fortran 95, does *not* use the
> second underscore by default:
>
>     
> http://gcc.gnu.org/onlinedocs/gcc-4.1.1/gfortran/Code-Gen-Options.html#Code-Gen-Options
>
> Since Gfortran has replaced G77 as the standard Fortran compiler in
> the GCC suite, your statement that "GNU compilers, [...], use the
> f2cFortran flag." is not correct.
>
> As you are aware, the netCDF build system handles Gfortran correctly,
> i.e., it uses -DpgiFortran and generates symbols with a single
> underscore. The resulting library is not compatible with g77. I expect
> this will generate its own set of support questions.
>

Of course you are correct. I have updated the manual as you suggest.

Thanks!

Ed

-- 
Ed Hartnett  -- ed@xxxxxxxxxxxxxxxx

==============================================================================
To unsubscribe netcdfgroup, visit:
http://www.unidata.ucar.edu/mailing-list-delete-form.html
==============================================================================


 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Community Programs   Unidata is a member of the UCAR Community Programs, is managed by the University Corporation for Atmospheric Research, and is sponsored by the National Science Foundation.
P.O. Box 3000     Boulder, CO 80307-3000 USA     Tel: 303-497-8643     Fax: 303-497-8690