diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-04-29 15:48:32 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-04-29 16:26:44 -0700 |
commit | d6ea75e7f22a5efdfe689ed65e5b1cb0806762f2 (patch) | |
tree | 37f6816443324a61b11b2f9a5da624b8e0f5557f /tests/python/readme.txt | |
parent | f934d3ec22c3ed2bd8e26cfae1c460bf0a26ef35 (diff) |
add python le32 bitcode file + instructions
Diffstat (limited to 'tests/python/readme.txt')
-rw-r--r-- | tests/python/readme.txt | 16 |
1 files changed, 16 insertions, 0 deletions
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. |