XCode 4.3

Jeremy Huddleston jeremyhu at macports.org
Fri Feb 17 10:17:17 PST 2012


It's in the toolchain bundle (something else new to Xcode 4.3, but I didn't want to overwhelm).

$ xcrun -find cc
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc

The default toolchain is installed to / as part of "Command Line Tools For Xcode"

On Feb 17, 2012, at 3:18 AM, Aljaž Srebrnič <a2piratesoft at gmail.com> wrote:

> Also, is it only me that got clang in /usr/bin and not in /Applications/Xcode.app/Contents/Developer/usr/bin?
> All of the ports fail to build because they go look there…
> 
> Aljaž Srebrnič
> -- --
> My public key:  http://bit.ly/g5pw_pubkey
> 
> On 17/feb/2012, at 09:39, Joshua Root wrote:
> 
>> On 2012-2-17 18:45 , Jeremy Huddleston wrote:
>>> 
>>> Also, another thing to note is that the command line tools + SDK are
>>> available as a separate download.  If you don't need any parts of XCode
>>> itself, you can probably get by with just installing these bits, but I
>>> wouldn't recommend it for the casual MP user since many pieces of
>>> MacPorts assume you have a /Developer dir somewhere and quite a bit of
>>> logic is based on determining which version of XCode is installed.
>> 
>> In light of this and the changing developer_dir, maybe it would be a
>> better idea to move back to using tools in /usr/bin when possible. The
>> only reason we started using compilers in /Developer/usr/bin is that
>> llvm-gcc-4.2 wasn't installed in /usr/bin on Leopard.
>> 
>> - Josh
>> _______________________________________________
>> macports-dev mailing list
>> macports-dev at lists.macosforge.org
>> http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev
> 



More information about the macports-dev mailing list