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
==============================================================================


  • 2007 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: