• 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
Activating gcc 4.2 [was XCode 3.1 and 2.5]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Activating gcc 4.2 [was XCode 3.1 and 2.5]


  • Subject: Activating gcc 4.2 [was XCode 3.1 and 2.5]
  • From: Robert Purves <email@hidden>
  • Date: Sat, 16 Aug 2008 21:23:30 +1200


Dieter Oberkofler wrote:

I'm using XCode 2.5 and build my project with gcc 4.0.1. I have now
also installed XCode 3.1 and would ike to some testing when using the
new gcc 4.0.2 but am unable to find the gcc_select utility thats needs
to change the gcc version. How would this be done?

There is no gcc 4.0.2; I assume that you mean gcc 4.2. The gcc_select tool has been discontinued.

In Xcode 3.1, choose GCC 4.2 from the pop-up at:
your_project Info > Build > Compiler Version > C/C++ Compiler Version

Or, from the command line, use gcc-4.2 to invoke the compiler, instead of gcc or cc.

Be aware of the limitation described in Xcode 3.1 Release Notes: "Note that neither gcc-4.2 nor llvm-gcc-4.2 will compile code against the 10.4u or earlier SDK, or deploy for Mac OS X 10.4 or earlier."

Robert P.

_______________________________________________
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: Activating gcc 4.2 [was XCode 3.1 and 2.5]
      • From: Dieter Oberkofler <email@hidden>
  • Prev by Date: Re: Xcode can't make a snapshot
  • Next by Date: Re: what is the state of C++ support in xcode?
  • Previous by thread: Re: what is the state of C++ support in xcode?
  • Next by thread: Re: Activating gcc 4.2 [was XCode 3.1 and 2.5]
  • Index(es):
    • Date
    • Thread