This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: static builds versus dynamic


Dan:

Dan Kegel wrote:

On 1/20/06, Bill Gatliff <bgat@billgatliff.com> wrote:


In contrast, dynamic programs generally seem to load a bit quicker, but
may be sluggish at first as the dynamic linker drags in libraries as
they are needed. I'm not completely sure this is even perceptible to
the user, and it very quickly goes away.



Apps that have hundreds of shared libraries *do* load very slowly,
but I think Andrew Chatham has a patch to fix that.
- Dan



I certainly won't dispute the hundreds-of-shared-libraries case, but in lower-end embedded systems there may be a significant penalty for hitting the "disk" at all. Which reduces the number of libraries that have to load before you see problems.


Below the hundreds-of-libraries condition? Who knows. Exercise for the reader. :)


b.g.


--
Bill Gatliff
bgat@billgatliff.com


------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.org


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]