[pypy-commit] pypy win64-stage1: boehm-gc support for win64
noreply at buildbot.pypy.org
Wed Nov 23 03:32:49 CET 2011
Author: Christian Tismer <tismer at stackless.com>
Date: 2011-11-23 02:33 +0100
Log: boehm-gc support for win64
diff --git a/pypy/rpython/tool/rffi_platform.py b/pypy/rpython/tool/rffi_platform.py
@@ -784,9 +784,15 @@
if platform is None:
from pypy.translator.platform import platform
if sys.platform == 'win32':
- library_dir = 'Release'
- libraries = ['gc']
+ import platform as host_platform # just to ask for the arch. Confusion-alert!
+ if host_platform.architecture() == '32bit':
+ library_dir = 'Release'
+ libraries = ['gc']
+ library_dir = ''
+ libraries = ['gc64_dll']
+ includes = ['gc.h']
library_dir = ''
libraries = ['gc', 'dl']
More information about the pypy-commit