[cfe-dev] Odd piece of Clang 2.1 behaviour

Jean-Daniel Dupas devlists at shadowlab.org
Wed Oct 12 04:10:53 PDT 2011


Le 12 oct. 2011 à 13:08, Dallman, John a écrit :

> Jean-Daniel Dupas wrote:
> 
>> The problem is that I don't think Apple support new features in GCC.
> 
> This is entirely survivable. The software has to be portable across a
> lot of platforms.
> 
>> Shouldn't be required, as this [-stdlib=libstdc++] is the default.
> 
> Making it explicit simply ensures it gets into documentation, and that
> we don't get surprised when the default changes.
> 
>> /Developer/usr/bin/gcc --version
>> i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc.
>> build 5658) (LLVM build 2336.1.00)
> 
> llvm-gcc is the default gcc at Xcode 4.1, but that also has a non-LLVM
> gcc at /Developer/usr/bin/gcc-4.2. The information I have is that isn't
> present at Xcode 4.2.
> 

OK. No, there is no gcc-4.2 binary in Xcode 4.2.

-- Jean-Daniel








More information about the cfe-dev mailing list