Author Topic: Stackless Python  (Read 6649 times)

sylvain

  • Newbie
  • *
  • Posts: 17
    • View Profile
Stackless Python
« on: August 06, 2006, 03:13:41 am »
Is there an existing port of Stackless Python on Zaurus ?

InSearchOf

  • Administrator
  • Hero Member
  • *****
  • Posts: 1144
    • View Profile
    • http://
Stackless Python
« Reply #1 on: August 06, 2006, 12:49:52 pm »
I dont believe this is avaliable for pdaXrom... can't vouche for the rest...

But it could be easily (*hopes*) built for pdaXrom

Late
« Last Edit: August 06, 2006, 12:50:12 pm by InSearchOf »
Sharp Zaurus SL-C3100 and SL-6000L
pdaXrom Developer
Please visit pdaXrom.org for updates
My Blog
IRC #pdaxrom @ FreeNode

sylvain

  • Newbie
  • *
  • Posts: 17
    • View Profile
Stackless Python
« Reply #2 on: August 06, 2006, 01:28:52 pm »
The problem is that to build it, some bit of ASM is needed.

And I didn't write that kind of stuff since the end of the Z80...

sylvain

  • Newbie
  • *
  • Posts: 17
    • View Profile
Stackless Python
« Reply #3 on: August 15, 2006, 12:50:52 pm »
Hello,

I managed to port and run Stackless to OpenBSD for Zaurus.

WARNING: Stackless installed itselfs as a standard Python distribution, and will crush yours if no installation prefix is provided. I install mine in /usr/local/stackless to avoid this problems.

First, download and uncompress the version 2.4.3 on http://www.stackless.com

Here is a link to the files to use for patching : http://basy.free.fr/stackless_arm_zaurus.tgz

The recursive diff arm32.patch should work on any platform, with a little tweaking. The files specific to OpenBSD/Zaurus are the patch_* files.

To build for arm32 :
 - apply the arm32 patch;
 - ./configure=installationprefix;
 - add a -D__arm32__ to the OPT and the CPPFLAGS
 - make, make install

To build for OpenBSD/Zaurus
 - apply the arm32 patch;
 - ./configure --prefix=installationprefix
 - apply the patch_* on the proper files
 - make, make install

Sorry to produce post configure patches I'm not very fond/skilled in ./configure scripts.