re: plugin won't load under osx 10.2.8
re: plugin won't load under osx 10.2.8
- Subject: re: plugin won't load under osx 10.2.8
- From: Dave Dyer <email@hidden>
- Date: Wed, 28 Feb 2007 03:03:33 -0800
This post is to register the completed analysis and solution, to help
the next victim. Apple really dropped a ball on this one; I'm sure lots
of programmers are regretting it already.
The deep, underlying cause of the problem is that osx 10.4 includes
support for quad precision doubles, which is not included in 10.2.
Consequently, programs compiled with 10.4 tend to be incompatible
with 10.2 because underlying dynamic libraries in 10.2 do not
include all the required support. Unfortunately, the fact that
you don't care about quad precision doubles is not relevant.
You can identify this is the problem on a target machine by opening
the console application, and looking for error messages mentioning
missing symbols such as "_sscanf$LDBL128". You can check for
hidden dependencies without actually running on an old machine
by using the "nm" utility in a terminal window.
The cure is to construct and use a backward compatible compilation
environment.
First, load optional components gcc 3.3 and os 10.2.8 sdk from the
current xcode
installer.
Second, In your projects which must be backward compatible, specify
to use sdk version 10.2.8. These are found in your mac file system
under /developer/sdks/.
Third, in the Build tab of your xcode projects, add new keywords and
values
GCC_VERSION_i386 4.0
GCC_VERSION_ppc 3.3
_______________________________________________
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