Xcode 4

Dominik Reichardt domiman at gmail.com
Thu Mar 10 16:54:59 PST 2011


> 
>> I have to admit that I have no idea if and to which extent MacPorts
>> works with Xcode 4, as I didn't buy it (yet?
> 
> 
> I'm not sure how much MacPorts depends on the "lower" SDKs (10.4 and 10.5) or whether MacPorts depends on those at all, but Xcode 4 does away with those on every install. Meaning it moves old Xcode stuff, including those SDKs to /Developer-old and of course doesn't even give the option to keep these SDKs (or to install them on a System on which no Xcode was installed before).
> This is the most annoying issue with Xcode 4 for me, especially since I had moved the SDKs back, then installed Xcode 4 again (the one from the Appstore craps out in the last stages of the installation, but if you open the installer app you can start the installer on its own and it actually finishes) and I forgot to move the SDKs back and thus some compilation didn't succeed at first :)



Even nicer as I just found out, the ld that comes with Xcode 4 is of course no longer threeway universal, missing the ppc part thus making it impossible to build ppc stuff (unless you use the one from the old xcode).
Highly annoying but when you find this out and circumvent it, you can actually compile PPC again... (you also need to put other /usr/libexec/gcc/powerpc-apple-darwin10/4.0.1 back as well)

Dom


More information about the macports-users mailing list