From: Marcelo Barros de Almeida <marcelobarrosalme...@gmail.com>
Date: Tue, 20 Nov 2007 16:52:57 -0800 (PST)
Local: Tues, Nov 20 2007 7:52 pm
Subject: Compiling and running python for android
Hi,
I have cross-compiled python 2.5 for ARM and copied it into android
Could anyone help me with this issue ? Instruction for compiling
0) Downloading arm compiler
I am using an ARM GNU/Linux toolchain, downloaded from:
I have installed the toolchain in:
1) Downloading sources and applying patches (see reference 5.1 at the
mkdir ~/temp
2) Compiling python. There are some tricks for cross-compiling (see
./configure
export PATH=/home/marcelo/toolchain/arm-2007q3/bin/:$PATH
make HOSTPYTHON=./hostpython HOSTPGEN=./Parser/hostpgen BLDSHARED="arm-
LDFLAGS="-I/system/bin -L/system/bin/" ./configure --host=arm-none-
make HOSTPYTHON=./hostpython HOSTPGEN=./Parser/hostpgen BLDSHARED="arm-
3) Local install (take care of paths)
make install HOSTPYTHON=./hostpython BLDSHARED="arm-none-linux-gnueabi-
4) Android emulator install (trying to use the same path)
- Inside emulator shell, create the install dir /home/marcelo/python
5) references
5.1) http://whatschrisdoing.com/blog/2006/10/06/howto-cross-compile-python...
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||