• 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: Moving to newer version of GCC
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Moving to newer version of GCC


  • Subject: Re: Moving to newer version of GCC
  • From: David Frantz <email@hidden>
  • Date: Sun, 29 May 2011 12:59:09 -0400

You are right that Apple does not support newer versions of GCC.   More specifically they don't like GPL3 from what I understand.

As to your question about XCode I can't honestly say as I've never tried alternative compilers with the IDE.    However there is an easy way to install newer compilers and that is through MacPorts.   I ended up really hating MacPorts so it was un-installed sometime ago.   A second choice would be a project called HomeBrew which I've been considering.     If all else fails you can go the DIY route with GCC.

Out of curiosity I have to ask: why the need for a newer GCC?    In the end it really looks like Apple is going the CLang/LLVM route, so if you want to migrate to a newer compiler tech this would be the way to go.   CLang is obviously a bit immature but it does surprisingly well considering it's relatively new status.  Plus the entire suite has many eyes looking at it, thus a state of the art diagnostic capability.



Sent from my iPad

On May 29, 2011, at 6:46 AM, Brian Norh <email@hidden> wrote:

> Hello.
>
> I have a piece of software that I'm building using Xcode 3.2.6 and GCC 4.2. I'm going to upgrade to Xcode 4 and at the same time I'm thinking about also moving to a newer compiler. As far as I know Apple doesn't ship a version of GCC newer than 4.2 so I guess my option would be to download and install it myself. I'm a bit shaky about using a non-Apple supplied compiler so therefore I'm asking if anyone have any comments on how to do that. I have found several resources about actually building it so that will probably go well. However, I'm a bit shaky on a few other things, mainly:
>
> * Will I be able to ship binaries produced with the new compiler or will they depend on a newer runtime being present on the machine?
> * Can I use it together with Xcode?
>
> Any suggestions and ideas are highly appreciated. I'm only targeting 10.6 and 64 bit Intel so PowerPC or ARM support is not necessary.
>
> Brian
> _______________________________________________
> 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
 _______________________________________________
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: 
 >Moving to newer version of GCC (From: Brian Norh <email@hidden>)

  • Prev by Date: Re: Moving to newer version of GCC
  • Next by Date: Re: Moving to newer version of GCC
  • Previous by thread: Re: Moving to newer version of GCC
  • Next by thread: Re: Moving to newer version of GCC
  • Index(es):
    • Date
    • Thread