[PythonCE] Build minimized Python2x.dll for WinCE/PPC?

Tim Lesher tlesher at gmail.com
Tue Feb 15 18:45:49 CET 2005

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