public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* How to remove dependency on order of objs supplied to ld, for finding functions?
@ 1999-12-15 23:41 Stuart Summerville (NEC)
  1999-12-31 22:24 ` Stuart Summerville (NEC)
  0 siblings, 1 reply; 2+ messages in thread
From: Stuart Summerville (NEC) @ 1999-12-15 23:41 UTC (permalink / raw)
  To: Gcc-Help@Gcc. Gnu. Org

Hi there,

So far as I can tell, the order in which archive files are supplied to ld
seems to affect whether ld finds functions within each archive. On occasion
I have to re-order the list supplied to ld, in order for ld to find some
functions.

Any way of telling ld to load in all such files *before* final linking?
Couldn't see anything appropriate in the manpage or online docs.

My ld is V2.8.1, gcc is 2.91.57.

Thanks, sTu.

_________________________________________________________________________
Stuart Summerville                         NEC Australia Pty. Ltd.
ph: (+61 3) 9264-3090                      Integrated Comm Products (R&D)
fax:(+61 3) 9264-3841                      649-655 Springvale Road
e-mail: stuarts@icpdd.neca.nec.com.au      Mulgrave, VIC 3170, AUSTRALIA

^ permalink raw reply	[flat|nested] 2+ messages in thread

* How to remove dependency on order of objs supplied to ld, for finding functions?
  1999-12-15 23:41 How to remove dependency on order of objs supplied to ld, for finding functions? Stuart Summerville (NEC)
@ 1999-12-31 22:24 ` Stuart Summerville (NEC)
  0 siblings, 0 replies; 2+ messages in thread
From: Stuart Summerville (NEC) @ 1999-12-31 22:24 UTC (permalink / raw)
  To: Gcc-Help@Gcc. Gnu. Org

Hi there,

So far as I can tell, the order in which archive files are supplied to ld
seems to affect whether ld finds functions within each archive. On occasion
I have to re-order the list supplied to ld, in order for ld to find some
functions.

Any way of telling ld to load in all such files *before* final linking?
Couldn't see anything appropriate in the manpage or online docs.

My ld is V2.8.1, gcc is 2.91.57.

Thanks, sTu.

_________________________________________________________________________
Stuart Summerville                         NEC Australia Pty. Ltd.
ph: (+61 3) 9264-3090                      Integrated Comm Products (R&D)
fax:(+61 3) 9264-3841                      649-655 Springvale Road
e-mail: stuarts@icpdd.neca.nec.com.au      Mulgrave, VIC 3170, AUSTRALIA

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1999-12-31 22:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-12-15 23:41 How to remove dependency on order of objs supplied to ld, for finding functions? Stuart Summerville (NEC)
1999-12-31 22:24 ` Stuart Summerville (NEC)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).