🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

2 total messages Started by David W. Forslund Mon, 16 Oct 1989 18:25
Problem with libg++ and latest g++1.36.0-
#533
Author: David W. Forslund
Date: Mon, 16 Oct 1989 18:25
27 lines
1382 bytes
I've tried compiling the 1.36.0- version of libg++ on a Sun3 running
OS4.0.3 and have had troubles.  First, sun3 isn't defined by the
compiler so that EH.cc fails in setjmp.h.   This is easy to fix with
-Dsun3, but it shouldn't be necessary.

Second, I'm getting duplicate definition of symbols:
 ___do_global_cleanup
 ___do_global_init

in crt0.c and gnulib3.c.  crt0+.o was not installed by g++.  If I
don't install it, I get an error message of not being able to find
crt0+.o.  If I install it I get the error message of duplicate
definitions. Where did gnulib3.c come from?  I don't see it anywhere.
Why are the compile and install of crt0+.o commented out in the Makefile?

I also had to install gas in /usr/local/lib/gcc-as to get things to
assemble with -pipe.  This needs to be better documented, particularly
as to where to install gas.


David Forslund
MS E531
Los Alamos National Laboratory
Los Alamos, NM 87545

(505) 665-1907
(dwf@lanl.gov)
Problem with libg++ and latest g++1.36.0-
#537
Author: David W. Forslund
Date: Mon, 16 Oct 1989 20:54
17 lines
1101 bytes
I regard to the problem with g++ having duplicate definitions, I have
discovered something.

Apparently you are not supposed to use g++ to compile C++ programs,
but rather gcc itself.  By changing the compiler in the tests
directory to gcc instead of g++, I got the test programs to compile!
I think that gcc normally should not be compiling C++ programs and
that g++ should be used to compile C++ programs.  This new behavior of
g++1.36.0- seems highly abherent and undesirable.

David Forslund
MS E531
Los Alamos National Laboratory
Los Alamos, NM 87545

(505) 665-1907
(dwf@lanl.gov)
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads