aboutsummaryrefslogtreecommitdiff
path: root/tests/python/readme.txt
diff options
context:
space:
mode:
authorAlon Zakai <azakai@mozilla.com>2010-12-11 13:22:09 -0800
committerAlon Zakai <azakai@mozilla.com>2010-12-11 13:22:09 -0800
commit965d44dc699c22669b0fb4800e15e010f0bf48c0 (patch)
treec4a052a70f84c1dfb22d9ce2e416ecdc7140338f /tests/python/readme.txt
parentb74419d19e6e718cc966d4a610167a1029a1e064 (diff)
python fixes and test
Diffstat (limited to 'tests/python/readme.txt')
-rw-r--r--tests/python/readme.txt19
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/python/readme.txt b/tests/python/readme.txt
new file mode 100644
index 00000000..5481414a
--- /dev/null
+++ b/tests/python/readme.txt
@@ -0,0 +1,19 @@
+This is Python 2.7.1, compiled to .ll as follows:
+
+ Untar Python.
+ In the Python dir, create a ./bin directory
+ Copy ccproxy.py to there
+ CC=./ccproxy.py ../configure --without-threads --without-pymalloc
+ EDIT pyconfig.h (in ./bin), remove
+ HAVE_GCC_ASM_FOR_X87
+ HAVE_SIG* except SIGNAL_H
+ make
+ ...it will fail, but can continue manually
+ cd pylibs
+ ar x ../libpython2.7.a
+ cp ../Modules/python.o .
+ LLVM_DIR/llvm-link -o=python.bc *.o
+ LLVM_DIR/llvm-dis -show-annotations python.bc
+
+Thanks go to rasjidw for helping with this!
+