• 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: Building For OS 10.1, 10.2, and 10.3
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Building For OS 10.1, 10.2, and 10.3


  • Subject: Re: Building For OS 10.1, 10.2, and 10.3
  • From: Glen Low <email@hidden>
  • Date: Tue, 6 Jan 2004 21:59:32 +0800

Is this information valid for C++ applications also? I am building an app on 10.3, and want it to run on 10.2 and later (case #3 above). It uses the C++ library extensively (STL, std::string, iostreams, etc). Somehow I doubt that just changing the deployment target will make my project compile & link against the correct version of the C++ headers & libraries. That would imply (since the SDK is that of 10.3) that they are binary-compatible between these two OS revs.


If you look inside the /Developer/SDK/ folders, it actually mirrors the entire usr/include tree, including the gcc C and C++ headers and libraries. Hopefully that should mean it will pick all of these up from the SDK and not the root. Besides IIRC C++ on a Mac doesn't use dylibs, it's 99% headers and 1% libstdc++.a which is a statically linked file anyway, so even if you link against the 10.3 headers and static lib, it should function fine on an older machine. (No, I haven't actually tested this.)


What ever happened to backward binary compatibility -- I thought the whole idea of different Versions of the same framework was to get away from this SDK thing?

Cheers, Glen Low


--- pixelglow software | simply brilliant stuff www.pixelglow.com _______________________________________________ xcode-users mailing list | email@hidden Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Building For OS 10.1, 10.2, and 10.3
      • From: Paul Lalonde <email@hidden>
References: 
 >Re: Building For OS 10.1, 10.2, and 10.3 (From: "James J. Merkel" <email@hidden>)
 >Re: Building For OS 10.1, 10.2, and 10.3 (From: Erez Anzel <email@hidden>)
 >Re: Building For OS 10.1, 10.2, and 10.3 (From: Chris Espinosa <email@hidden>)
 >Re: Building For OS 10.1, 10.2, and 10.3 (From: Glen Low <email@hidden>)
 >Re: Building For OS 10.1, 10.2, and 10.3 (From: Chris Espinosa <email@hidden>)
 >Re: Building For OS 10.1, 10.2, and 10.3 (From: Paul Lalonde <email@hidden>)

  • Prev by Date: Documentation window
  • Next by Date: Re: Building For OS 10.1, 10.2, and 10.3
  • Previous by thread: Re: Building For OS 10.1, 10.2, and 10.3
  • Next by thread: Re: Building For OS 10.1, 10.2, and 10.3
  • Index(es):
    • Date
    • Thread