• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: plugin won't load under osx 10.2.8
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: plugin won't load under osx 10.2.8


  • Subject: Re: plugin won't load under osx 10.2.8
  • From: Syd Polk <email@hidden>
  • Date: Wed, 28 Feb 2007 22:11:16 -0600

It's not just quad precision doubles that can cause problems. 10.3 introduced wchar_t where 10.2 did not have them; if you reference code that directly or indirectly needs the wchar_t library routines, your code will fail with a runtime error on 10.2.

On Feb 28, 2007, at 5:03 AM, Dave Dyer wrote:

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:
40mac.com


This email sent to email@hidden

-- Syd Polk email@hidden http://www.baritoneconsulting.com "Let the music be your light." -- Dave Edwards, KUHF-FM, 1982



_______________________________________________
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


References: 
 >re: plugin won't load under osx 10.2.8 (From: Dave Dyer <email@hidden>)

  • Prev by Date: Re: how to get project version in shell script phase?
  • Previous by thread: Re: plugin won't load under osx 10.2.8
  • Next by thread: Re: plugin won't load under osx 10.2.8
  • Index(es):
    • Date
    • Thread