🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.misc.discuss
Article #75676

g++ on a Sun-386i

#75676
From: Jonathan Doughty
Date: Fri, 11 May 1990 22:37
33 lines
2318 bytes
Can anyone provide me with a clue as to what I need to do to correctly
build a working g++ on a Sun-386i running SunOS4.0.2?

Following the README directions, I used the targets for a COFF system
in the Makefile. I set "COFFLAGS = -DUSE_COLLECT -DCOFF". I did
config.g++ sun386.

It successfully creates g++, etc.  and the compiler will compile to
object files; but when I go to load those together I get multiply
defined __CTOR_LIST__s (I think).  I track that down to problems with
not having used collect so I make and install that.  Still no luck or
was this the time I got the multiply defined __CTOR_LIST__s??  It's
been a long day).  I try doing what was suggested in HINTS (though it
seems like some of those things may have been added to the code since
1.36.2 when they were posted) but then, I get Undefined: __main

I admit, I'm on the ragged edge of my understanding of the internals
of all this.  Do I need, or are they even useful on a COFF system,
GNU-AS and GNU-LD?  All this is to build and use InterViews, by the
way, if that provides any information. I did find that GNU-AS was
necessary on a Sun-3, else I had problems with InterViews' stream.c (I
think).

Is there something simple that I'm missing?  It would seem that others
have gone where I'm trying to go now.  Can they help me?

me: Jonathan Doughty      e-mail me: ...!uunet!adiron!jond 
-- 
 -----------------------------------------------------------------------------
|    / \    Jonathan Doughty ...!uunet!adiron!jond            (703) 478-9690  |
| == PAR ==================================================================== |
|    \ /    PAR Government Systems Corp.  1840 Michael Faraday Dr. Reston VA  |
 -----------------------------------------------------------------------------
Technical Details
Message-ID: <435@adiron.UUCP>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!adiron!jond

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1025b4,88f8662584870597,start
X-Google-Attributes: gid1025b4,public
X-Google-ArrivalTime: 1990-05-12 02:04:24 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!adiron!jond
From: jond@adiron.UUCP (Jonathan Doughty)
Newsgroups: gnu.misc.discuss
Subject: g++ on a Sun-386i
Keywords: g++ sun 386i
Message-ID: <435@adiron.UUCP>
Date: 11 May 90 22:37:12 GMT
Distribution: gnu
Organization: PAR Technology, New Hartford, NY
Lines: 33
Posted: Fri May 11 23:37:12 1990