I did the following to my Makefile:
(1) remove -g from LDDLFLAGS
(2) remove -g -O2 from CCFLAGS
(3) change -O2 to -Os in OPTIMIZE
The '-g' is the biggest culprit, which adds huge amounts of extra stuff to
allow debuggers (and particularly gdb) to run well with the code. The
'-Os' optimises for size (it's nearly the same as -O2 according to the
docs), and shaves around 200KB off the size compared to '-O2'
Nice. I'll have a play with these options.
If someone can explain to me how to build the documentation, then I'd be
happy to put together a release candidate. (I've also got a couple more bug
fixes that are not currently checked in).
To create the HTML docs, I run:
perl dodoc.pl
perl dohtml.pl
in Win32-GUI\docs directory - although I've no idea how these files would be
included in the PPM:)
Cheers,
jez.