• 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: OS back-compatibility
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: OS back-compatibility


  • Subject: Re: OS back-compatibility
  • From: Chris Espinosa <email@hidden>
  • Date: Sun, 23 Apr 2006 12:05:46 -0700

On Apr 23, 2006, at 11:15 AM, Jonathan Taylor wrote:

For a long time I've avoided the problem of OS back-compatibility by releasing a CFM-only version of my program. I'd like to include both a CFM and a Mach-o binary in the package for full compatibility, but I am having limited success

I'm developing under Tiger, and I've set the target SDK version to 10.1.5 and deployment target to 10.1. When I do this, I get the following link errors:

/usr/bin/ld: warning can't open dynamic library: /Developer/SDKs/ MacOSX10.1.5.sdk/usr/lib/system/libmathCommon.A.dylib referenced from: /usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../ libSystem.dylib (checking for undefined symbols may be affected) (No such file or directory, errno = 2)
/usr/bin/ld: Undefined symbols:
_errors referenced from CarbonCore expected to be defined in libSystem
_nan referenced from libSystem expected to be defined in /usr/lib/ system/libmathCommon.A.dylib
_feraiseexcept referenced from libSystem expected to be defined in / usr/lib/system/libmathCommon.A.dylib
_nanf referenced from libSystem expected to be defined in /usr/lib/ system/libmathCommon.A.dylib
_remquo referenced from libSystem expected to be defined in /usr/ lib/system/libmathCommon.A.dylib
collect2: ld returned 1 exit status


I can't find anything in the archives referring to this problem. Can anyone suggest what I'm doing wrong? libmathCommon.A.dylib is indeed not present in the directory it's looking in: there seems to be no such file in the 10.1.5 SDK tree, and it doesn't exist on a 10.1 system I looked on. Unfortunately I haven't the faintest idea what I've done wrong to cause those errors: they happen with the built-in Carbon Application project template if I set target SDK and deployment target to 10.1.5.

See http://developer.apple.com/documentation/DeveloperTools/ Conceptual/cross_development/HowItWorks/chapter_2_section_9.html, "Limitations." Weak-linking was not impmented in 10.1. So while you can use the SDK to cross-develop to 10.1 exclusively, you can't cross- develop for a range of OS versions that includes 10.1.


Chris
_______________________________________________
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


  • Prev by Date: Fwd: OS back-compatibility
  • Next by Date: Tool:0: Missing file or directory: Manifest
  • Previous by thread: Fwd: OS back-compatibility
  • Next by thread: Re: OS back-compatibility
  • Index(es):
    • Date
    • Thread