Small wxWindows dlls (need binary downloads)

Hi Arjan,

I've been looking for ways to reduce this footprint, but every solution
I find requires a recompilation wxWindows. I have tried to compile, but
I don't have the tools or knowledge to get it to work.

Is there a place where there are small, pre-built dll-binaries for
download? I'm looking for a version without debug instrumentation, and
other optimizations for size.

an obvious optimization is not bundling files that are not needed to
run your program but have been picked up anyway (by py2exe for
example).

The following procedure helps to weed out some files.

Download FileMon (http://www.sysinternals.com/ntw2k/source/filemon.shtml)
and run it.
Go to Options->Filter/Highlight and enter EarthClock.exe in the
Include-textfield followed by Edit->Clear Display.

Run your installed version of EarthClock.exe and use every feature
(including use of a Proxy) at least once and exit EarthClock.
FileMon has now recorded every access of you program with a lot of
duplicate entries.
Copy the content of FileMon to a text file and extract the Path-column
followed by a unique sort of the accessed filenames.

If you compare the contents of your EarthClock installation with your
list of accessed files, you will notice that the following files have
not been accessed:
_imagingtk.pyd _tkinter.pyd datetime.pyd mmap.pyd tcl84.dll tk84.dll unicodedata.pyd unicows.dll

These libraries account for 2.2 MB (uncompressed) and are most likely
really not needed. Try to tell py2exe to leave these libraries alone
if that is possible or delete them before you run NSIS.

Good luck with other optimizations as well,
Michael

ยทยทยท

--
- Michael Krause
- http://www.krause-software.de
- michael@krause-software.de