Re: trailing double underscores
  Home FAQ Contact Sign in
comp.lang.fortran only
 
Advanced search
POPULAR GROUPS

more...

comp.lang.fortran Profile…
 Up
Re: trailing double underscores         


Author: Carlie J. Coats
Date: May 23, 2007 14:32

> A few weeks ago, someone asked if Sun f95 had an option
> to append double trailing underscores to global names to
> create linker names instead of the single trailing underscores
> it normally uses. Sun f95 does not have such an option.
> My personal preference is not to provide such an option.
>
> The reason given for wanting the option was that the CDF
> library required it. Are there other libraries that require the
> use of double underscores?
>
> Bob Corbett

The following should be considered as a data point:

I support an open source I/O library that provides high level
data access for environmental modeling. It uses various other
libraries -- particularly netCDF and PVM -- as lower layers
for its data storage/communication.
Show full article (1.74Kb)
1 Comment
Re: trailing double underscores         


Author: robert.corbett
Date: May 23, 2007 19:51

On May 23, 2:32 pm, "Carlie J. Coats" jyarborough.com> wrote:
>
> The following should be considered as a data point:
>
> I support an open source I/O library that provides high level
> data access for environmental modeling. It uses various other
> libraries -- particularly netCDF and PVM -- as lower layers
> for its data storage/communication.
>
> The *single*largest* support issue is related to the fact
> that Linux-distributor-built libraries (particularly netCDF)
> have been built for "g77"-style name mangling, but my users
> are trying to use them with other (single-underscore-style
> name-mangling) compilers. The users seem incapable of reading
> the part of the installation manual that says, "If you use
> [X] compiler, you *must* rebuild libnetcdf.a with that compiler."
>
> Fortunately, the netCDF "configure" system can be persuaded to do
> the Right Thing® if you build it yourself instead of using the
> vendor-supplied version. ...
Show full article (1.08Kb)
no comments