This is the mail archive of the egcs@egcs.cygnus.com mailing list for the EGCS project. See the EGCS home page for more information.


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

Re: g77 mangling problem


>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)