This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
g77 Bug
- To: "'bug-gcc at gnu dot org'" <bug-gcc at gnu dot org>
- Subject: g77 Bug
- From: Hodson Douglas D Civ ASC/HPMT <Douglas dot Hodson at wpafb dot af dot mil>
- Date: Tue, 26 Jun 2001 09:12:11 -0400
I think I found a bug in g77.
I discovered it after recently installing RedHat 7.1 on my system. I am using version 0.5.24 of g77.
Basically the problem is this:
If I use the "-g3" option on the command line for compiling, no symbol table is generated for the object file. I'm using "nm" to view it. If I then try to link the created object file with other code, the linker has problems for obvious reasons.
If I instead use "-g2", a symbol table is generated and all works as expected...
Thanks,
Doug