Re: reducing ld's memory footprint (19 minutes of linking)
Re: reducing ld's memory footprint (19 minutes of linking)
- Subject: Re: reducing ld's memory footprint (19 minutes of linking)
- From: Markus Hitter <email@hidden>
- Date: Fri, 12 Aug 2005 21:03:16 +0200
Am 12.08.2005 um 16:03 schrieb Jack Nutting:
On 8/12/05, Mark Dalrymple <email@hidden> wrote:
Since you brought up ranlib, it sounds like you're using static
libraries. How large are these libraries?
Way Back in the mists of time, I worked on a project with static
libraries, and we discovered that ranlib time was O(N^2) on a number
of Unix platforms (this was pre OS X), and linking was dominating our
build time. By breaking up the large library into 5 or 6 smaller
ones, we got our ranlib and link times down to reasonable levels.
For that matter, how about splitting up large code bases into seperate
dynamic bundles instead of building a monolithic application? Then
recompiling will only relink affected bundles, instead of relinking
one giant executable.
IIRC, this is what ZeroLink should already do for you: one dynamic
library per source file, linked at runtime.
Doesn't help if you insist on linking statically, however.
Markus
- - - - - - - - - - - - - - - - - - -
Dipl. Ing. Markus Hitter
http://www.jump-ing.de/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden