Re: Slow link times
Re: Slow link times
- Subject: Re: Slow link times
- From: Chris Hanson <email@hidden>
- Date: Tue, 12 Jan 2010 12:45:34 -0800
On Jan 12, 2010, at 8:38 AM, Jens Alfke wrote:
> I know, this is a very large C++ project, so linking is always going to be a chore. Does anyone have tips on how to optimize link times? Does it help to link subcomponents into static libraries and then link those together? (Actually I think Chrome is doing some of that already.)
Remember that “static libraries” on Unix are archives of .o files, not themselves something linked, so you’re not really changing the amount of work the linker has to do by using them.
If you actually did a single-object prelink for your static libraries, so each one only contained a single .o file (with controlled exports, of course), that could conceivably help. I’ve never tried it though.
— Chris
_______________________________________________
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