Author Topic: Python Support  (Read 6753 times)

danr

  • Full Member
  • ***
  • Posts: 138
    • View Profile
    • http://
Python Support
« Reply #15 on: August 18, 2006, 08:07:21 am »
To natively compile Python programs on the Zaurus:

edit /usr/lib/python2.4/config/Makefile and change all instances of armv5etl-cacko-linux-gcc, g++, arm ranlib to just the toolname, i.e. gcc, g++ etc.

make a link to python include dir, as follows:
Code: [Select]
mkdir -p /usr/include
cd /usr/include
ln -s /opt/native/arm/3.4.4-xscale-softfvp/armv5tel-cacko-linux/include/python2.4 . (or wherever Python.h lives)

Dan
SL-C860 running Debian EABI on top of Angstrom 2.6 kernel