[Pythonmac-SIG] Building extension modules with Xcode 5

Ned Deily nad at acm.org
Fri Oct 25 04:12:40 CEST 2013


In article <1382658638.14083.YahooMailNeo at web184703.mail.ne1.yahoo.com>,
 Andrew Barnert <abarnert at yahoo.com> wrote:

> If you use a binary installer of Python 2.7.5, 3.3.2, or 3.4.0a4 from 
> python.org on either 10.8 or 10.9, and you have Xcode 5, you can't build any 
> C extension modules, because you don't have a compiler named "gcc-4.2".

This should not be the case.  Can you show an example of how this is failing?  
As long as you do not manually override by setting environment variables like 
CC and LDSHARED, Distutils on currently released python.org Pythons (2.7.5, 
3.3.2, and 3.4.0a4) should continue to do the right thing and substitute clang 
if the compile it was built with is not present.  In fact, Distutils 
explicitly blacklisted the llvm-gcc shipped with Xcode 4.

-- 
 Ned Deily,
 nad at acm.org



More information about the Pythonmac-SIG mailing list