This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Fortran subroutine names containing underscore?
- To: Bengt Lund-Jensen <lund at particle dot kth dot se>
- Subject: Re: Fortran subroutine names containing underscore?
- From: Dave Love <d dot love at dl dot ac dot uk>
- Date: 07 May 1998 23:31:02 +0100
- Cc: egcs at cygnus dot com
- References: <199805071722.TAA09229@msia02.msi.se>
>>>>> "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?