rohde@daimi.aau.dk (Thomas Rohde) (05/17/91)
I have tried installing g++ v. 1.39.0 on out HP 9k320 systems (HP-UX 7.0) but
with no success. I use the GNU assembler and linker in order to get GNU gdb to
work.
I use the following link command (No libg++ linking):
/usr/local/lib/gnu/bin/ld -o t -L/usr/local/lib/gnu/libraries
/usr/local/lib/gnu/libraries/crt0.o t.o /usr/local/lib/gnu/bin/gnulib -lc
to link the program t. This results in a "Undefined symbol ___main". If I link
with libg++ (with gnulib3.o support) I get:
/usr/local/lib/gnu/libraries/libc.a(exit.o): Definition of
symbol _exit (multiply defined)
gnulib3.c:107 (../libg++-1.39.0/src/libg++.a(gnulib3.o)): Definition of
symbol _exit (multiply defined)
I suspect the problem lies in the many different start files: crt0.c newcrt0.c gnulib3.c
etc.
Are there any who have succeded in building a working g++ an libg++, and how did
they do it?
Thomas Rohde
Computer Science Department
Aarhus University
Denmark