Debugging Fortran??

Chris Gunn cgunn at csis.dit.csiro.au
Fri Nov 16 23:05:00 AEST 1990


I have been unsuccessful in trying to run dbx on a Fortran program.  I
have compiled and linked with the -g option but still the dbx debugger
comes up with the message "Warning: main routine not compiled with -g
option"

Can anybody help??

Some clues:

1. If I run a C program that calls a Fortran routine, all goes well with
   the debugger happily going into both sources.

2. Does the fact that the error message uses the word "main" mean that it
   expects C source.



More information about the Comp.sys.sun mailing list