How could i slim Python for embedded ?
Paul Winkler
slinkp23 at yahoo.com
Sun Oct 7 14:24:55 EDT 2001
On Sat, 6 Oct 2001 19:22:27 -0400, Dave Cinege <dcinege at psychosis.com> wrote:
>On Saturday 06 October 2001 16:48, dag4004 wrote:
>> Hello,
>>
>> 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
Also look at all your compiler options - some optimizations affect
size. For example, after stripping, gcc -Os saves me about 10k
compared to gcc -O2 (with python 2.1).
--PW
More information about the Python-list
mailing list