🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #51212

Re: Advantages/Disadvantages of gnu ld & gas on sun4 SunOS4.1.x?

#51212
From: Casper H.S. Dik
Date: Wed, 16 Jun 1993 08:05
28 lines
1636 bytes
derway@cco.caltech.edu (D. Erway) writes:


>Running sun4c with SunOS 4.1.x. Using gcc 2.4.x for native C and C++ programs,
>what are the pros & cons of using gas/gnu-ld, as opposed to suns as/ld? Are
>there advantages when using gdb as debugger? The big disadvantage seems to be
>the loss of using shared libraries, right?

Disadvantages of using gas on SunOS 4.x:
	- can't build shared libraries (gas doesn't support PIC)
Advantages: ?


Disadvantages of using gld on SunOS 4.x:
	- can't link dynamically, huge executables.

Advantages:
	- understands about constructors, but collect2 can do that with
	  SunOS ld.

Gdb: much better than dbx. I thought is was able to use shared libraries.

>What are the reasons for preferring one way or the other?

We don't use gas and gld for the reasons outlined above, except
when cross compiling.

Casper
Technical Details
Message-ID: <1vmk8j$62d@mail.fwi.uva.nl>
Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!sol.ctr.columbia.edu!usc!howland.reston.ans.net!noc.near.net!uunet!mcsun!sun4nl!fwi.uva.nl!casper
References: <1vljj7INNgn@gap.caltech.edu>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,e7e7d3ac5f9b6fb5
X-Google-Attributes: gid11318c,public
X-Google-Thread: 1025b4,e7e7d3ac5f9b6fb5
X-Google-Attributes: gid1025b4,public
X-Google-ArrivalTime: 1993-06-16 01:14:37 PST
Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!sol.ctr.columbia.edu!usc!howland.reston.ans.net!noc.near.net!uunet!mcsun!sun4nl!fwi.uva.nl!casper
From: casper@fwi.uva.nl (Casper H.S. Dik)
Newsgroups: gnu.gcc.help,gnu.misc.discuss
Subject: Re: Advantages/Disadvantages of gnu ld & gas on sun4 SunOS4.1.x?
Date: 16 Jun 1993 08:05:39 GMT
Organization: FWI, University of Amsterdam
Lines: 28
Distribution: gnu
Message-ID: <1vmk8j$62d@mail.fwi.uva.nl>
References: <1vljj7INNgn@gap.caltech.edu>
NNTP-Posting-Host: adam.fwi.uva.nl