Help - Search - Members - Calendar
Full Version: Stackless Python
OESF Forums > Distros, Development, and Model Specific Forums > Everything Development > Python
sylvain
Is there an existing port of Stackless Python on Zaurus ?
InSearchOf
I dont believe this is avaliable for pdaXrom... can't vouche for the rest...

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

Late
sylvain
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
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.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.