This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Fortran subroutine names containing underscore?


>>>>> "Bengt" == Bengt Lund-Jensen <lund@particle.kth.se> writes:

 Bengt> Why does Fortran subroutine names containing an underscore
 Bengt> (e.g FOO_BAR) translate into a name ending in 2 __
 Bengt> (i.e. foo_bar__) while names not containing any underscore
 Bengt> translates to names only containing 1 underscore (i.e. FOOBAR
 Bengt> becomes foobar_ ) ?

f2c compatibility.  AFAIR there are clues as to why f2c does this
either in its changes file or its source.

 Bengt> How can I get g77 to only add one underscore at the end for
 Bengt> all Fortran subroutine/function names (even the ones
 Bengt> containing an underscore in the middle)?

`i underscore' in the g77 info will find the information.  How can we
make it easier to find?




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]