From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,4cd9428d3407c70e X-Google-Attributes: gidfee84,public From: Joe Mario Subject: Re: Linker virtual size Date: 1998/09/15 Message-ID: <35FE9048.794B@zk3.dec.com>#1/1 X-Deja-AN: 391420280 Content-Transfer-Encoding: 7bit References: <35FE6050.19A1@lsl.co.uk> To: Bill James Content-Type: text/plain; charset=us-ascii Organization: UBPG Mime-Version: 1.0 Newsgroups: comp.unix.osf.osf1 Bill James wrote: > I guess lots/all of us suffer from this - we customarily get VS over > 300Mb and sometimes 400Mb while linking our 35Mb executable. 128Mb > machine unusable during this period. > > Why is it so big??? The amount of memory used by ld during a link is primarily a function of the number and size of the input objects and the number of external symbols in those objects. Other things come into play but to a smaller degree. The resultant size of the executable says nothing about what the linker was dealing with for inputs.