🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #50558

Re: why use gld and gas ?

#50558
From: D. Erway
Date: Tue, 14 Sep 1993 03:17
18 lines
1417 bytes
In article <CJP.93Sep13192323@image2.uea.ac.uk>,
C. Jeremy Pye <cjp@image2.uea.ac.uk> wrote:
>I'm compiling gcc/++ 2.4.5 on a sparcIPX sunos 4.1.3, should I also
>use gnu linked and the gnu gas (assembler)? why?

My understanding is that there is not much advantage to using gas. It might be
faster.

There is a huge reason to NOT use gld, which is that it can't handle the sun
shared libraries, meaning your executables will all be much much larger using
gld, than using sun ld.

On the other hand, gld is more helpful for debugging, in that it puts out
error messages that identify the source file and line number for undefined
symbols, or multiply defined symbols. This allows emacs' next-error command to
use the ld error output to take you straight to the problem.

	-Don
Technical Details
Message-ID: <273d3iINN6s5@gap.caltech.edu>
Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!darwin.sura.net!cs.utk.edu!ornl!fnnews.fnal.gov!nntp-server.caltech.edu!derway
References: <CJP.93Sep13192323@image2.uea.ac.uk>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,5147dce2eaddb293
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1993-09-13 21:13:17 PST
Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!darwin.sura.net!cs.utk.edu!ornl!fnnews.fnal.gov!nntp-server.caltech.edu!derway
From: derway@cco.caltech.edu (D. Erway)
Newsgroups: gnu.gcc.help
Subject: Re: why use gld and gas ?
Date: 14 Sep 1993 03:17:06 GMT
Organization: California Institute of Technology, Pasadena
Lines: 18
Message-ID: <273d3iINN6s5@gap.caltech.edu>
References: <CJP.93Sep13192323@image2.uea.ac.uk>
NNTP-Posting-Host: alumni.caltech.edu