[pypy-svn] r23675 - pypy/dist/pypy/translator/llvm/demo

ericvrp at codespeak.net ericvrp at codespeak.net
Sun Feb 26 11:21:48 CET 2006


Author: ericvrp
Date: Sun Feb 26 11:21:47 2006
New Revision: 23675

Modified:
   pypy/dist/pypy/translator/llvm/demo/run.py
Log:
fix to fetch correct genc exe name


Modified: pypy/dist/pypy/translator/llvm/demo/run.py
==============================================================================
--- pypy/dist/pypy/translator/llvm/demo/run.py	(original)
+++ pypy/dist/pypy/translator/llvm/demo/run.py	Sun Feb 26 11:21:47 2006
@@ -25,8 +25,9 @@
     backend_optimizations(t)
     cbuilder = CStandaloneBuilder(t, entry_point, gcpolicy=BoehmGcPolicy)
     cbuilder.generate_source()
-    cbuilder.compile()
-    os.system("XXX")
+    exe_path = cbuilder.compile()
+    print exe_path
+    os.system(exe_path)
     
 def l(name):
     s_list_of_strings = SomeList(ListDef(None, SomeString()))



More information about the Pypy-commit mailing list