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: Mark Dalrymple <email@hidden>
- Date: Fri, 12 Aug 2005 09:53:00 -0400
> Now that we nailed down the problem so clearly, can anyone maybe
offer a
> solution? I just noticed that a different project of mine spends
about the same
> time in libtool and ranlib.
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.
It was a different toolchain, so this may be worthless advice.
Apologies in advance if it is.
Cheers,
++Mark Dalrymple, email@hidden
http://borkware.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