🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.programmer
Article #3596

Re: How do I link together multiple dependent obj files?

#3596
From: Brian Horton
Date: Tue, 15 Aug 2000 00:00
29 lines
1609 bytes
Go to

http://www.gnu.org/manual/ld-2.9.1/html_mono/ld.html#SEC3

and look for 'start-group' and 'end-group' - it'll cause ld to keep
running thru the archives until it works out all dependencies.

.bri.

lhui@sfu.ca wrote:
> 
> Help!!
> 
> I am having trouble linking multiple files that depend on each other
> (possibly have circular dependencies too)?  What is the correct way to
> link this?
> 
> I have tried shuffling the object files around but to no avail.  It
> fixes some of the undefined symbols, but other symbols become undefined.
> 
> Is this where incremental linking is supposed to come into play?  How
> do I do incremental linking...
> 
> help help help
> 
> thanks for the help in advance
> 
> Sent via Deja.com http://www.deja.com/
> Before you buy.
Technical Details
Message-ID: <39995609.BB3C2E41@mail.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <8na3sb$s78$1@nnrp1.deja.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,48e90ecbd31f1e02
X-Google-Attributes: gid11318c,public
X-Google-Thread: fc89c,48e90ecbd31f1e02
X-Google-Attributes: gidfc89c,public
From: Brian Horton <go_gators@mail.com>
Subject: Re: How do I link together multiple dependent obj files?
Date: 2000/08/15
Message-ID: <39995609.BB3C2E41@mail.com>
X-Deja-AN: 658594794
Content-Transfer-Encoding: 7bit
References: <8na3sb$s78$1@nnrp1.deja.com>
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
X-Complaints-To: usenet@tivoli.com
X-Trace: news.tivoli.com 966350345 3174 146.84.107.13 (15 Aug 2000 14:39:05 GMT)
Organization: Tivoli Systems Inc., Austin TX
Mime-Version: 1.0
NNTP-Posting-Date: 15 Aug 2000 14:39:05 GMT
Newsgroups: comp.unix.programmer,gnu.gcc.help