This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: g77 mangling problem
- To: glhenni at cs dot sandia dot gov
- Subject: Re: g77 mangling problem
- From: craig at jcb-sc dot com
- Date: 31 Mar 1999 18:04:19 -0000
- Cc: egcs at egcs dot cygnus dot com
- Cc: craig at jcb-sc dot com
- References: <sa77lrxy2nc.fsf@chtorr.cs.sandia.gov>
>I just noticed a rather bothersome characteristic of g77. I'm trying
>to link some Fortran functions and subroutines into a C code. If the
>Fortran function name has any underlines in it g77 appends two
>underline characters, e.g., "__", otherwise it appends only one
>underline character.
Yes, that's how it's documented to work. See
<http://egcs.cygnus.com/onlinedocs/g77_toc.html>
and look up the relevant items in the docs.
tq vm, (burley)