Re: Undefined symbols insanity after upgrading to Xcode 2.1...
Re: Undefined symbols insanity after upgrading to Xcode 2.1...
- Subject: Re: Undefined symbols insanity after upgrading to Xcode 2.1...
- From: Dave Thorup <email@hidden>
- Date: Tue, 26 Jul 2005 14:36:53 -0400
On Jul 26, 2005, at 2:29 PM, Eric Albert wrote: Well, I at least found a workaround. The only thing I changed when I upgraded our projects to Xcode 2.1 was some of the optimization settings. It seems that the culprit was changing the optimization level from -Os (fastest, smallest) to -O3 (fastest). But why would that effect which symbols are exported?
Changing optimization settings changes which functions get inlined. Is it possible that those functions were getting inlined and therefore didn't exist to be exported?
Yes, I suppose that's possible. If that's the case then should I ever use -O3 when building a dynamic library? I suppose I can try -O3 and go back to -Os if I have problems.
Thanks! _____________________________
Dave Thorup Software Engineer
Defaults Manager - The premier editor for Mac OS X's User Defaults / Preferences database.
|
_______________________________________________
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