[pypy-svn] r79836 - pypy/trunk/pypy/translator/platform
danchr at codespeak.net
danchr at codespeak.net
Sun Dec 5 15:30:01 CET 2010
Author: danchr
Date: Sun Dec 5 15:29:59 2010
New Revision: 79836
Modified:
pypy/trunk/pypy/translator/platform/darwin.py
Log:
Default to GCC 4.0 on Darwin/i386 and not only Darwin/x86_64
The default compiler on Mac OS X 10.6 is Apple GCC 4.2. Using it
causes problems with GC root detection.
Modified: pypy/trunk/pypy/translator/platform/darwin.py
==============================================================================
--- pypy/trunk/pypy/translator/platform/darwin.py (original)
+++ pypy/trunk/pypy/translator/platform/darwin.py Sun Dec 5 15:29:59 2010
@@ -12,7 +12,7 @@
so_ext = 'so'
- default_cc = 'gcc'
+ default_cc = 'gcc-4.0'
def __init__(self, cc=None):
if cc is None:
@@ -87,4 +87,3 @@
link_flags = ('-arch', 'x86_64', '-mmacosx-version-min=10.4')
cflags = ('-arch', 'x86_64', '-O3', '-fomit-frame-pointer',
'-mmacosx-version-min=10.4')
- default_cc = 'gcc-4.0'
More information about the Pypy-commit
mailing list