From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Stuart Summerville (NEC)" To: "Gcc-Help@Gcc. Gnu. Org" Subject: How to remove dependency on order of objs supplied to ld, for finding functions? Date: Fri, 31 Dec 1999 22:24:00 -0000 Message-ID: <00a301bf4798$eef38100$cb884c93@porpoise.icpdd.neca.nec.com.au> X-SW-Source: 1999-12n/msg00241.html Message-ID: <19991231222400.gpHREEDRij0aUQiDjaqgfiNuUWCAPKIn2ch-o9e39bY@z> 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