How could i slim Python for embedded ?
dcinege at psychosis.com
Sun Oct 7 01:22:27 CEST 2001
On Saturday 06 October 2001 16:48, dag4004 wrote:
> I want to use Python for an embedded computer so don't
Diesel Dave's super secret small python recipe:
Do not compile debug info (remove -g)
Compile -static to eliminate any library requirments
'strip' the binary
Use UPX executable compressor (search sourceforge)
This will get you ~350K self contained python. Move .pyc modules as
needed. You're on your own for .so modules. (Maybe they can be compiled in
If you need less then this you have your work cut out for you
and will have many compatibility hurdles to deal with.
The time is now 22:19 (Totalitarian) - http://www.ccops.org/clock.html
More information about the Python-list