Jez,
I was going to mail you off-list, as I was playing with the MinGW build
last week to try to get the size down, and I succeeded in reducing the
size of my GUI.dll for the current head build from 3104 KB down to 979
KB (which is only 100k or so bigger than the VC build of the 1.0 source).
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'
I suspect that it might be better to change these values in Comfig_m.pm,
as then you'd get the benefit for any other perl modules that you build.
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).
Regards,
Rob.
Jeremy White wrote:
In short, can we please release a new version of Win32::GUI in the
near future? I would be happy to test a release candidate to make
sure it works with TGL.
I dropped a mail to Laurent to see if he could do a build a week or so
ago - but no reply. Mingw produces larger dll files than the MS
compiler that Laurent uses, but I'm sure Rob or myself could put a
build together using Mingw?
Cheers,
jez.
-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games. How far can you
shotput
a projector? How fast can you ride your desk chair down the office
luge track?
If you want to score the big prize, get to know the little guy. Play
to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
Perl-Win32-GUI-Hackers mailing list
Perl-Win32-GUI-Hackers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-hackers