OESF Portables Forum
Everything Else => Zaurus - Everything Development => Distros, Development, and Model Specific Forums => Archived Forums => Python => Topic started by: sylvain on August 06, 2006, 03:13:41 am
-
Is there an existing port of Stackless Python on Zaurus ?
-
I dont believe this is avaliable for pdaXrom... can't vouche for the rest...
But it could be easily (*hopes*) built for pdaXrom
Late
-
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...
-
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 (http://www.stackless.com)
Here is a link to the files to use for patching : http://basy.free.fr/stackless_arm_zaurus.tgz (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.