lynne@MITCHELL.HAC.COM (Lynne Charlwood) (05/09/91)
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