[PythonCE] Build minimized Python2x.dll for WinCE/PPC?
Jesse Davis
jdavis at wgen.net
Tue Feb 15 18:48:08 CET 2005
That's good to hear -- would you mind posting how you did it?
-----Original Message-----
From: Tim Lesher [mailto:tlesher at gmail.com]
Sent: Tuesday, February 15, 2005 12:46 PM
To: Jesse Davis
Cc: Stewart Midwinter; pythonce at python.org
Subject: Re: [PythonCE] Build minimized Python2x.dll for WinCE/PPC?
On Tue, 15 Feb 2005 12:42:09 -0500, Jesse Davis <jdavis at wgen.net> wrote:
> Thanks for the help. Is it possible to significantly shrink
> Python23.dll? Under my current build, it's 1252k, which is a big
> chunk of a PPC's memory. I don't need the console, or even
> bytecode-compilation, if all I run are pre-compiled pyc's, right? So
> I'm hoping there's a smaller "minimal" build for me.
>
> I've tried removing some of the .obj files from
> PCbuild\WinCE\binaries\ARMRel420\pythoncore, then running lib & link,
> but all the object files I've tried so far are referred to by
> obviously necessary files, like import.obj. Is this as small as it
gets?
I put a minimal bit of effort into this a few months ago, and got it
down to 900k or so, but it wasn't obvious how to cut it further. I'm
certainly interested in such an effort.
--
Tim Lesher <tlesher at gmail.com>
More information about the PythonCE
mailing list