🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #50204

Re: Order of archives seems to matter with gcc (gld)

#50204
From: Robert Andrew Ryan
Date: Wed, 13 Oct 1993 15:20
17 lines
1488 bytes
Excerpts from netnews.gnu.gcc.help: 13-Oct-93 Order of archives seems to
.. V.O.F. Technologies@cs.u (1324) 

> Strange thing is, that when I change the order of the libraries, this 
> seems to matter to the linker 

This has been true on most platforms for quite some time, only now are
some vendors getting away from this.  (Though I know of no standard
which says they should.) 

You must design your libraries and order them on the link line so that
functions called by libraries earlier in the link line are defined by
libraries later in the link line.  (Or include libraries on the link
line twice.) 

-Rob 
 
Technical Details
Message-ID: <4gj1mXy00gjO9F72Fq@andrew.cmu.edu>
Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!math.fu-berlin.de!news.rrz.uni-hamburg.de!news.dkrz.de!dscomsa!dxcern!mcsun!uunet!cs.utexas.edu!math.ohio-state.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!news.sei.cmu.edu!bb3.andrew.cmu.edu!andrew.cmu.edu!rr2b+
References: <1993Oct13.122221@cs.utwente.nl>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,af7e6408ac0ec6f7
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1993-10-13 10:49:54 PST
Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!math.fu-berlin.de!news.rrz.uni-hamburg.de!news.dkrz.de!dscomsa!dxcern!mcsun!uunet!cs.utexas.edu!math.ohio-state.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!news.sei.cmu.edu!bb3.andrew.cmu.edu!andrew.cmu.edu!rr2b+
From: Robert Andrew Ryan <rr2b+@andrew.cmu.edu>
Newsgroups: gnu.gcc.help
Subject: Re: Order of archives seems to matter with gcc (gld)
Date: Wed, 13 Oct 1993 11:20:03 -0400
Organization: Information Technology Center, Carnegie Mellon, Pittsburgh, PA
Lines: 17
Message-ID: <4gj1mXy00gjO9F72Fq@andrew.cmu.edu>
References: <1993Oct13.122221@cs.utwente.nl>
NNTP-Posting-Host: andrew.cmu.edu
In-Reply-To: <1993Oct13.122221@cs.utwente.nl>