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

RE: Xcode 3.2.6 & 4.0.2: Compiler Selection in Terminal


  • Subject: RE: Xcode 3.2.6 & 4.0.2: Compiler Selection in Terminal
  • From: "Dallman, John" <email@hidden>
  • Date: Fri, 22 Jul 2011 13:21:13 +0000
  • Thread-topic: Xcode 3.2.6 & 4.0.2: Compiler Selection in Terminal

> 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?

For the SDK version, you need to use this additional compiler option:

        -isysroot /Developer/SDKs/MacOSX10.5.sdk

If your Xcode 3.2.6 is in a different folder from /Developer, change that
part of the path accordingly.

I'm not sure of the details for the GCC version, because I've never used
more than one Xcode on a machine.

--
John Dallman
 _______________________________________________
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: Simon Wilson <email@hidden>
    • Re: Xcode 3.2.6 & 4.0.2: Compiler Selection in Terminal
      • From: Ken Thomases <email@hidden>
References: 
 >Xcode 3.2.6 & 4.0.2: Compiler Selection in Terminal (From: Simon Wilson <email@hidden>)

  • Prev by Date: Xcode 3.2.6 & 4.0.2: Compiler Selection in Terminal
  • Next by Date: Re: Xcode 4.1 and documentation
  • Previous by thread: Xcode 3.2.6 & 4.0.2: Compiler Selection in Terminal
  • Next by thread: Re: Xcode 3.2.6 & 4.0.2: Compiler Selection in Terminal
  • Index(es):
    • Date
    • Thread