>>>> the fortran compilers are fort77 and g77, I couldn't find the
option
>>>> to compile without adding postpending underscore(which should have
> What concerns g77 there is '-fno-underscoring'.
Got it. It worked, although not in manpage(which declares itself to be
only an extract of the full GNU Fortran compiler doc). Thank you for the
information. Now I have less to blame g77.:-)
--Canguo
Not that I like underscores, but unfortunately they are necessary if you
do not want to call inadvertedly system routines from fortran. What makes
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
systems where or there is one underscore or there are none. To avoid this
behaviour and have *one* underscore added everywhere you should use the
option:
-fno-second-underscore
Regards,
Federico Carminati