Re: shrink GTK+ disk usage for Windows



On 1 April 2010 06:00, Andrew Ziem <ahz001 gmail com> wrote:
> I hadn't tested yet when I wrote that :).  Now I see that stripping
> almost anything (except freetype6.dll) causes the app to not start.
> From Linux I tried 'strip' and 'strip -g'.  Are there safer ways to
> strip?

I use this as part of my package builder (running on linux):

# we can strip the exes and some of the DLLs
( cd $installdir/nip2-$version/bin ; strip -F efi-app-ia32
--strip-unneeded *.exe )
( cd $installdir/nip2-$version/bin ; strip -F efi-app-ia32
--strip-unneeded libvips-15.dll )
( cd $installdir/nip2-$version/bin ; strip -F efi-app-ia32
--strip-unneeded libfftw3-3.dll )

Perhaps you can strip more of the DLLs, I didn't spend that long experimenting.

I should try again: the WIndows build of my app works in Wine now
(woo!) so it's a lot easier for me to test.

John


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]