Prev: compiling standard libraries Up: User Problems Top: Top

3.13. Debugging on SVR4 systems

``When I use the -g flag on C++ code on a System V Release 4 system, I get lots of undefined symbols at link time. Why? Help!''

Most systems based on System V Release 4 (except Solaris) encode symbolic debugging information in a format known as `DWARF'.

Although the GNU C compiler already knows how to write out symbolic debugging information in the DWARF format, the GNU C++ compiler does not yet have this feature, nor is it likely to in the immediate future.

Ron Guilmette has done a great deal of work to try to get the GNU C++ com- piler to produce DWARF format symbolic debugging information (for C++ code) but he gave up on the project because of a lack of funding and/or interest from the g++ user community. If you have a strong desire to see this project completed, contact Ron at <rfg@netcom.com>.