"no symbolic info for main compile with -g"

Hi i compile my code with g77 -g but I get the above error when I try to use the sun studio debugger. Anyone can tell me how to fix?
[139 byte] By [santana719] at [2007-11-26 8:35:51]
# 1
This question is about debugger rather than Sun Fortran (since you're using g77) and is better asked on Tools forum ( http://forum.sun.com/jive/forum.jspa?forumID=309).
MaximKartashev at 2007-7-6 22:05:38 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 2

I have a guess, but I am not really sure. The GUI will try to be

helpful and set a breakpoint on a function called 'main'.

The command line dbx won't try and do this.

if you ignore the error and set a breakpoint yourself, then run the program

does the debugger seem to work as normal?

ChrisQuenelle at 2007-7-6 22:05:40 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 3
the run command works. Can't seem to set any break points, dbx compains "no current source file" For some reason dbx isn't finding the debug symbols generated by g77...
santana719 at 2007-7-6 22:05:41 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 4
We don't really support g77 at all at the moment. Just gcc and g++.I thought that it might just work, but I just tried using dbx with g77,and I can't get dbx to show any source files. You can file an RFE by reporting it using bugs.sun.com.
ChrisQuenelle at 2007-7-6 22:05:41 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 5
Oh well, I tried the sun compiler and my code doesn't even come close to compiling, so I guess its the end of my sun studio experience. looks like it has a lot of potential, I'll be sure to keep my eye on your progress.
santana719 at 2007-7-6 22:05:41 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 6

If you have time, I think the fortran group would be interested in hearing

what your problems were. We have a lot of work still to do on our

linux compilers, so perhaps the problems are already being worked on,

but we won't know unless you report them. (I don't know if you have

already posted your issues in these forums or not, I am just reminding

that it will help us to make forward progress)

--chris

ChrisQuenelle at 2007-7-6 22:05:41 > top of Java-index,Development Tools,Solaris and Linux Development Tools...