summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorNed Deily <nad@acm.org>2012-02-10 11:59:06 (GMT)
committerNed Deily <nad@acm.org>2012-02-10 11:59:06 (GMT)
commit0d0ea48709186b1ee7505d98816fc75e2cf14df9 (patch)
tree6cea354ae679a60ac3eabc6e93b1835264a3166c /Misc
parent4ad7f7f31aa6827e90e974f9bc8edce2ea48c84b (diff)
downloadcpython-0d0ea48709186b1ee7505d98816fc75e2cf14df9.zip
cpython-0d0ea48709186b1ee7505d98816fc75e2cf14df9.tar.gz
cpython-0d0ea48709186b1ee7505d98816fc75e2cf14df9.tar.bz2
Issue #13590: On OS X 10.7 and 10.6 with Xcode 4.2, building
Distutils-based packages with C extension modules may fail because Apple has removed gcc-4.2, the version used to build python.org 64-bit/32-bit Pythons. If the user does not explicitly override the default C compiler by setting the CC environment variable, Distutils will now attempt to compile extension modules with clang if gcc-4.2 is required but not found. Also as a convenience, if the user does explicitly set CC, substitute its value as the default compiler in the Distutils LDSHARED configuration variable for OS X. (Note, the python.org 32-bit-only Pythons use gcc-4.0 and the 10.4u SDK, neither of which are available in Xcode 4. This change does not attempt to override settings to support their use with Xcode 4.)
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS13
1 files changed, 13 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index e912b49..024a616 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -90,6 +90,19 @@ Core and Builtins
Library
-------
+- Issue #13590: On OS X 10.7 and 10.6 with Xcode 4.2, building
+ Distutils-based packages with C extension modules may fail because
+ Apple has removed gcc-4.2, the version used to build python.org
+ 64-bit/32-bit Pythons. If the user does not explicitly override
+ the default C compiler by setting the CC environment variable,
+ Distutils will now attempt to compile extension modules with clang
+ if gcc-4.2 is required but not found. Also as a convenience, if
+ the user does explicitly set CC, substitute its value as the default
+ compiler in the Distutils LDSHARED configuration variable for OS X.
+ (Note, the python.org 32-bit-only Pythons use gcc-4.0 and the 10.4u
+ SDK, neither of which are available in Xcode 4. This change does not
+ attempt to override settings to support their use with Xcode 4.)
+
- Issue #9021: Add an introduction to the copy module documentation.
- Issue #6005: Examples in the socket library documentation use sendall, where