python port for iPod

jack jack at gulcas.org
Sat Feb 4 23:58:32 CET 2006


Hi,
  Since May 2005 there is a port of python (v2.4.1) for Apple iPod.
  Porting was an 'easy' job, the only consideration was how you can
write with a
  iPod, ipodlinux [1] people did an interface called iPodRead that
allows you
  type into iPod scrolling left or right on the wheel. (This affects to
the file
  Parser/myreadline.c, line 47).
  Furthermore, is necessary run configure with options: --without-threads,
  --without-shared and --with-cxx and build it in a cross-compile
environment
  for ARM architecture.

  Running make the only problem was the function hypot (umm, like ipod
:)  in the math
  module (I don't remember the problem) but i had to change hypot(x,y) to
  sqrt(x*x+y*y).

  You can see the differences between python original and python ported
source
  in [2].

  First announce about the port can be found in [3].
  More info about this port, cool pictures and binaries & source code in
[4].

 [1] http://ipodlinux.org
 [2] http://www.ciberjacobo.com/en/diffs.html
 [3] http://ipodlinux.org/forums/viewtopic.php?t=1945
 [4] http://www.ciberjacobo.com/en/linux_on_ipod.html#python


-- 
Jacobo Avariento Gimeno
http://ciberjacobo.com
OpenPGP key: http://ciberjacobo.com/key.pem


More information about the Python-announce-list mailing list