Subject: | No stripping of symbols on Win32 |
It's hardly a bug, but adding the "-s" switch on Win32 (gcc compiler)
reduces the size of blib from about 45 mb to approx 12 mb. On my linux
box the size of the blib was only about 8 mb anyway - so it's likely
this applies only to Win32.
To reduce the size of the dll's, in Build.PL's sub link_c(),
immediately beneath the line of code that assigns values to @ld, I
inserted:
push @ld, "-s" if ($^O =~ /MSWin32/i && $Config{cc} eq 'gcc');
Cheers,
Rob