On Tue, 8 Dec 1998, Jacek M. Holeczek wrote: >>>> 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
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:40 MET