[pypy-svn] r75260 - pypy/trunk/pypy/translator/platform

afa at codespeak.net afa at codespeak.net
Fri Jun 11 11:24:59 CEST 2010


Author: afa
Date: Fri Jun 11 11:24:58 2010
New Revision: 75260

Modified:
   pypy/trunk/pypy/translator/platform/windows.py
Log:
Fix generated makefile on Windows.
it compiles now, but it's not correct:
- most cpyext API functions are not exported
- jit support is probably broken


Modified: pypy/trunk/pypy/translator/platform/windows.py
==============================================================================
--- pypy/trunk/pypy/translator/platform/windows.py	(original)
+++ pypy/trunk/pypy/translator/platform/windows.py	Fri Jun 11 11:24:58 2010
@@ -267,7 +267,8 @@
                     ])
 
         if shared:
-            m.definition('SHARED_IMPORT_LIB', so_name.new(ext='lib').basename),
+            m.definition('SHARED_IMPORT_LIB', so_name.new(ext='lib').basename)
+            m.definition('PYPY_MAIN_FUNCTION', "pypy_main_startup")
             m.rule('main.c', '',
                    'echo '
                    'int $(PYPY_MAIN_FUNCTION)(int, char*[]); '



More information about the Pypy-commit mailing list