Re: Slow linking - will switching to frameworks help?
Re: Slow linking - will switching to frameworks help?
- Subject: Re: Slow linking - will switching to frameworks help?
- From: "Kevin Meaney" <email@hidden>
- Date: Tue, 10 Jan 2006 17:33:25 +0000
- Organization: Softpress
>My app, previously built with CodeWarrior, is currently built from
>several hundred C++ source files and about 20 static libraries, some
>of which also have large numbers of source files, and which are
>managed via subprojects. Linking, on a dual 2GHz G5 with 2.5GB RAM,
>is taking over 10 minutes, and simply loading the program into the
>debugger takes around 2 or 3 minutes. This is a major drain on
>productivity, as you can imagine.
>
>If I converted all the static libs to private frameworks and linked
>against those instead, would I be likely to see any improvement in
>these times? I'm guessing not, since all the symbols would still need
>to be resolved.
Graham,
I don't know about converting your libraries into private frameworks or
loadable bundles, I thought of doing that myself a little while ago, and
was encouraged not to, I cant remember the reason why. However you can
help your situation by doing the following:
In build settings, set:
Only Link in Essential Symbols: On
ZeroLink: Off
fix and continue: Off
In your Xcode Debugging preferences turn off Load symbols lazily. I
think that should help. Changing your build settings should also reduce
your executable in size significantly.
Kevin
>
>Graham Westlake
>Sibelius Software
>
_______________________________________________
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