🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.g++.bug
Article #1842

G++ 1.34.0+, sun4-os4 ("non-external relocatable" solved")

#1842
From: Mark W. Eichin
Date: Tue, 11 Apr 1989 02:09
23 lines
1581 bytes
I was getting
> "crt0+.o contains non external relocatable ..." (or something like
> that; I don't have the machine here, and I didn't write it down...)
when trying to link the libg++ tests, with G++ 1.34.0+ configged for
sun4-os4. Michael Tiemann recognized these symptoms as:
>when I tried linking crt0+.o which was compiled with a 68020 or a VAX
>compiler.  Run `file' on that file, and see if it tells you its really
>a sparc object

This diagnosis was close enough to point me in the right direction:
"config" is not enough! there are lines in the makefile (which perhaps
should be ifdefs in ld.c?) with -DTARGET=SUN3 and -DSUN=3 which need
to be hand tweaked (well, comment out the Sun3 line, uncomment the
Sun4 line) when moving form Sun3 sources to Sun4 sources. I had
forgotten to do this when doing the config... 

So, it works, C++ for the Sun4 is a reality, though the configuration
could be automated a little more (though frankly I'd rather see
Multiple Inheritence :-) so maybe a reminder of this line (ok, if I
missed it put it in boldface :-) should be in g++.texinfo.

					Thanks, Mark Eichin
					<eichin@athena.mit.edu>
Technical Details
Message-ID: <8904110209.AA09172@CHARON.MIT.EDU>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ATHENA.MIT.EDU!eichin

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ATHENA.MIT.EDU!eichin
From: eichin@ATHENA.MIT.EDU (Mark W. Eichin)
Newsgroups: gnu.g++.bug
Subject: G++ 1.34.0+, sun4-os4 ("non-external relocatable" solved")
Message-ID: <8904110209.AA09172@CHARON.MIT.EDU>
Date: 11 Apr 89 02:09:47 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 23