Building with 10.6 SDK vs libstdc++ on 10.5
Building with 10.6 SDK vs libstdc++ on 10.5
- Subject: Building with 10.6 SDK vs libstdc++ on 10.5
- From: Matt Gough <email@hidden>
- Date: Mon, 15 Mar 2010 15:09:54 +0000
I am trying to update my project to use the 10.6 SDK while still allowing the app to run on 10.4 and later.
I have already battled against the issues with the versions of libcrypto and libssl being incompatible with pre-10.6 systems.
(http://lists.apple.com/archives/xcode-users/2009/Sep/msg00498.html)
but have another issue.
It seems the version of libstdc++.dylib in pre-10.6 systems does not contain std::bad_cast::what() so my app aborts with a 'symbol not found' error. (I'm not explicitly using bad_cast, but I suspect it is being brought in implicitly (either by my own code or something in boost)).
The 10.5 SDK uses the 4.0.0 version of c++ lib and I can build quite happily with that, so maybe if I could get the 10.6 SDK to use the same version (instead of 4.2.1) I might be OK, but I'm not sure I can safely point the compiler towards 4.0.0.
For now I am rolling back to the 10.5 SDK, since I've already spent enough time on this. If anyone else has any insight it would be much appreciated.
Thanks
Matt Gough
_______________________________________________
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