🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Mark W. Eichin Tue, 11 Apr 1989 02:09
G++ 1.34.0+, sun4-os4 ("non-external relocatable" solved")
#1842
Author: 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>
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