• 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
Xcode 3.2.6 & 4.0.2: Compiler Selection in Terminal
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Xcode 3.2.6 & 4.0.2: Compiler Selection in Terminal


  • Subject: Xcode 3.2.6 & 4.0.2: Compiler Selection in Terminal
  • From: Simon Wilson <email@hidden>
  • Date: Fri, 22 Jul 2011 14:51:24 +0200

We have a project that depends on an open source library and we use make to build that library on the command-line.

We want to migrate our project to Xcode 4.

The first step of this migration is to transition to Xcode 4.0.2 on Snow Leopard and build with the 10.6 SDK. Once complete, we will then transition to 4.1 on Lion (building against the 10.6 SDK) and hopefully be able to build the same project on both OS versions, booting into 10.6 to build and test with Xcode 4.0.2 and otherwise developing with 4.1 on Lion.

But we will need to maintain the current version built with the 10.5 SDK for a little while yet, so our intention is to install Xcode 4.0.2 alongside 3.2.6 on Snow Leopard and use the latter for our maintenance builds.

This should work in theory -- I have researched and understand how to install 3.2.6 and 4.0.2 side by side.

But I'm concerned about building the open source library in Terminal: how can we ensure that our makefiles build against the correct SDK and GCC version when run on the command-line?

Does anybody have any information on how to best achieve this?

Many thanks,
Simon

 _______________________________________________
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

  • Follow-Ups:
    • RE: Xcode 3.2.6 & 4.0.2: Compiler Selection in Terminal
      • From: "Dallman, John" <email@hidden>
  • Prev by Date: Re: Xcode 4.1 and documentation
  • Next by Date: RE: Xcode 3.2.6 & 4.0.2: Compiler Selection in Terminal
  • Previous by thread: Re: Problem installing new version of XCode 4.1 on Lion
  • Next by thread: RE: Xcode 3.2.6 & 4.0.2: Compiler Selection in Terminal
  • Index(es):
    • Date
    • Thread