• 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: [SOLVED] Recommended way to switch compiler version
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [SOLVED] Recommended way to switch compiler version


  • Subject: Re: [SOLVED] Recommended way to switch compiler version
  • From: Jeremy Pereira <email@hidden>
  • Date: Fri, 25 Sep 2009 15:13:47 +0100


On 24 Sep 2009, at 21:42, Dieter Oberkofler wrote:

xcodebuild only works with an Xcode project but not when compiling from the command line or with a makefile.
./configure only works where configure is used.
make CC=... works well but needs to be set each time.

Put the following in your .profile

CC=/usr/bin/gcc-4.0
export CC

That way command line make builds will default to 4.0
_______________________________________________
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


References: 
 >Recommended way to switch compiler version (From: Dieter Oberkofler <email@hidden>)
 >Re: Recommended way to switch compiler version (From: Chris Espinosa <email@hidden>)
 >Re: Recommended way to switch compiler version (From: Jens Alfke <email@hidden>)
 >Re: Recommended way to switch compiler version (From: Jean-Daniel Dupas <email@hidden>)
 >[SOLVED] Recommended way to switch compiler version (From: Dieter Oberkofler <email@hidden>)

  • Prev by Date: Re: Xcode 2.5: debugger does not not run
  • Next by Date: Advanced GDB question: menu item enabling / disabling debugging
  • Previous by thread: [SOLVED] Recommended way to switch compiler version
  • Next by thread: Xcode 2.5: debugger does not not run
  • Index(es):
    • Date
    • Thread