From d6ea75e7f22a5efdfe689ed65e5b1cb0806762f2 Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Mon, 29 Apr 2013 15:48:32 -0700 Subject: add python le32 bitcode file + instructions --- tests/python/python.le32.bc | Bin 0 -> 7810608 bytes tests/python/readme.txt | 16 ++++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 tests/python/python.le32.bc (limited to 'tests/python') diff --git a/tests/python/python.le32.bc b/tests/python/python.le32.bc new file mode 100644 index 00000000..2a6bc77c Binary files /dev/null and b/tests/python/python.le32.bc differ diff --git a/tests/python/readme.txt b/tests/python/readme.txt index 2b14754c..31b0ff45 100644 --- a/tests/python/readme.txt +++ b/tests/python/readme.txt @@ -1,3 +1,19 @@ +Updates to Python 2.7.4 and emscripten of Arp 29 2013 with le32 + +Go to js dir, run EMCONFIGURE_JS=1 ~/Dev/emscripten/emconfigure ./configure --without-threads --without-pymalloc --enable-shared --disable-ipv6 +clean out MULTIARCH= in Makefile +make, until error on pgen +Go to native, run ./configure --without-threads --without-pymalloc --enable-shared --disable-ipv6 +cp Parser/pgen ../JS_DIR/Parser +return to JS +chmod +x Parser/pgen +remove #defines of DOUBLE_IS_BIG_ENDIAN_IEEE754 and DOUBLE_IS_ARM_MIXED_ENDIAN_IEEE754 and HAVE_GCC_ASM_FOR_X87 in pyconfig.h +make +link libpython2.7.so with Modules/python.o to get the bitcode file you want + +========================= + + This is Python 2.7.2, compiled to .bc as follows: Uncompress Python into two separate directories, one for native and one for JS. -- cgit v1.2.3-70-g09d2