Path: utzoo!utgpu!cunews!bnrgate!brtph3!brchh104!brchs1!bnr.ca!rice!sun-spots-request From: cgunn@csis.dit.csiro.au (Chris Gunn) Newsgroups: comp.sys.sun Subject: Debugging Fortran?? Keywords: Miscellaneous Message-ID: <253@brchh104.bnr.ca> Date: 16 Nov 90 12:05:00 GMT Sender: news@brchh104.bnr.ca Organization: Sun-Spots Lines: 14 Approved: Sun-Spots@rice.edu X-Original-Date: Tue, 30 Oct 90 06:05:56 GMT X-Sun-Spots-Digest: Volume 9, Issue 362, message 11 X-Note: Submissions: sun-spots@rice.edu, Admin: sun-spots-request@rice.edu 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.