Re: [Fwd: Re: your mail]

Jacek M. Holeczek (holeczek@usctoux1.cto.us.edu.pl)
Thu, 10 Dec 1998 18:22:11 +000 (MET)


> Not that I like underscores, but unfortunately they are necessary if you
> do not want to call inadvertedly system routines from fortran. What makes
Inhibiting the transformation certainly improves the chances of colliding
with incompatible externals written in other languages--but that might be
intentional.
> g77 reallt unpleasant is that it adds one or two underscores at the end of
> the routine depending whether or not there is an underscore in the name.
> So a becomes a_ and a_b becomes a_b__. This is unlike all other unix
Names are changed this way for `f2c' compatibility.
Note that ( as far as I remember ) -fno-underscoring' inhibitis ALL
transformations, so you don't need `-fno-second-underscore'.
You need '-fno-second-underscore' only in case you want to have
underscoring enabled, but not the 'second' one.
Jacek.