Re: Xcode-users Digest, Vol 8, Issue 180
Re: Xcode-users Digest, Vol 8, Issue 180
- Subject: Re: Xcode-users Digest, Vol 8, Issue 180
- From: Marcus Mendenhall <email@hidden>
- Date: Mon, 30 May 2011 14:28:12 -0500
> 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:
Be very careful moving away from gcc-4.2 on the Mac platform. There are header incompatibilities in the c++ STL implementation between 4.2 and 4.4, which result in a nightmare of weird segfaults. The problem is that the system libraries contain symbols which have signatures which match classes which are generated from the newer headers, but for which (I think) there must be mismatches in the internal variables. I ran across this trying to use Fink gfortran from the gcc-4.4 tree, and finally gave up on this. I now use the 'R' project gfortran 4.2, which is fully compatible with all the Apple-supplied libraries and headers.
Marcus Mendenhall
_______________________________________________
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