Xref: utzoo gnu.g++.help:757 comp.lang.c++:13332 Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!elroy.jpl.nasa.gov!jarthur!uunet!tut.cis.ohio-state.edu!unreplyable!garbage From: lynne@MITCHELL.HAC.COM (Lynne Charlwood) Newsgroups: gnu.g++.help,comp.lang.c++ Subject: gnu c and c++ Message-ID: <9105081914.AA16391@> Date: 8 May 91 19:14:25 GMT Sender: daemon@tut.cis.ohio-state.edu Followup-To: gnu.g++.help Organization: Gatewayed from the GNU Project mailing list help-g++@prep.ai.mit.edu Lines: 26 HELP!: I have version 1.39 of gcc and g++. I compiled gcc and compiled some test programs and things seem to run ok. I have had a couple of problems compiling g++. 1. The README file suggests that I make an empty library /usr/local/lib/libg.a so I can use the -g flag. When gcc links with the -g flag, I get a message about an invalid header for /usr/local/lib/libg.a. So I have been compiling without the -g option. 2. When the linking for cc1plus occurs, I get an undefined function debug_tree. I found that this is called by aux-output.c, but there is no reference for it. This file aux-output.c is actually a link to ../gcc/config/out-mips.c. In the gcc directory, debug_tree is defined in print-tree.c, but the print-tree.c in g++ does not contain a function debug_tree. Do you know how to fix these problems? Am I using the wrong definition for g++? I am compiling this on a DEC 3100 running Ultrix 4.0. -- Lynne Charlwood (703) 759-1357