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: Jack Nutting <email@hidden>
- Date: Fri, 12 Aug 2005 16:03:27 +0200
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.
--
// jack
// http://www.nuthole.com
_______________________________________________
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