Re: [Python-Dev] Minipython

2006-09-27 Thread Gustavo Niemeyer
> I would like to run Python scripts on an embedded MIPS Linux platform > having only 2 MiB of flash ROM and 16 MiB of RAM for everything. (...) Have you looked at Python for S60 and Python for the Maemo platform? If not directly useful, they should provide some hints. [1] http://opensource.noki

Re: [Python-Dev] Minipython

2006-09-25 Thread Talin
Milan Krcmar wrote: > Thank you people. I'm going to try to strip unneeded things and let you > know the result. > > Along with running Python on an embedded system, I am considering two > more things. Suppose the system to be a small Linux router, which, after > the kernel starts, merely configur

Re: [Python-Dev] Minipython

2006-09-24 Thread Milan Krcmar
Thank you people. I'm going to try to strip unneeded things and let you know the result. Along with running Python on an embedded system, I am considering two more things. Suppose the system to be a small Linux router, which, after the kernel starts, merely configures lots of parameters of the ker

Re: [Python-Dev] Minipython

2006-09-23 Thread Martin v. Löwis
Milan Krcmar schrieb: > Can you give me any information to start with? I would prefer stripping > current version of Python rather than returning to a years-old (but > smaller) version and remembering what of the new syntax/functionality to > avoid. I would start with dropping support for dynamic

Re: [Python-Dev] Minipython

2006-09-23 Thread Michael Hudson
Milan Krcmar <[EMAIL PROTECTED]> writes: > I would like to run Python scripts on an embedded MIPS Linux platform > having only 2 MiB of flash ROM and 16 MiB of RAM for everything. > > Current (2.5) stripped and gzipped (I am going to use a compressed > filesystem) CPython binary, compiled with def

Re: [Python-Dev] Minipython

2006-09-23 Thread Giovanni Bajo
Milan Krcmar wrote: > Current (2.5) stripped and gzipped (I am going to use a compressed > filesystem) CPython binary, compiled with defaults on a i386/glibc > Linux, results in 500 KiB of "flash". How to make the Python > interpreter even smaller? In my experience, the biggest gain can be obtain

[Python-Dev] Minipython

2006-09-23 Thread Milan Krcmar
I would like to run Python scripts on an embedded MIPS Linux platform having only 2 MiB of flash ROM and 16 MiB of RAM for everything. Current (2.5) stripped and gzipped (I am going to use a compressed filesystem) CPython binary, compiled with defaults on a i386/glibc Linux, results in 500 KiB of