Re: Win32: Getting size of DLLs down for redist with app



On Thu, Mar 27, 2008 at 11:57 PM, Paul Goins <general vultaire net> wrote:
> Hello,
>
>  This question may be newbie-ish, but oh well, here it goes.
>  I've nearly got my app in good enough shape to bundle up and release, but here's the issue that's bugging me now: my DLL sizes for GTKmm and friends are a tad large...
>
>  $ ls -al *mm*.dll
>  -rwxr-xr-x    1 Vultaire Administ  2324687 Mar 25 11:28 libatkmm-1.6-1.dll
>  -rwxr-xr-x    1 Vultaire Administ  1670572 Mar 25 10:39 libcairomm-1.0-1.dll
>  -rwxr-xr-x    1 Vultaire Administ  3597587 Mar 25 11:29 libgdkmm-2.4-1.dll
>  -rwxr-xr-x    1 Vultaire Administ  4373851 Mar 25 10:30 libglibmm-2.4-1.dll
>  -rwxr-xr-x    1 Vultaire Administ  1099662 Mar 25 10:29 libglibmm_generate_extra_defs-2.4-1.dll
>  -rwxr-xr-x    1 Vultaire Administ 35328804 Mar 25 11:29 libgtkmm-2.4-1.dll
>  -rwxr-xr-x    1 Vultaire Administ  2420202 Mar 25 11:28 libpangomm-1.4-1.dll
>
>  I'm seeing 48.4MB for these dlls.  Is there any way to get this down in size, barring a recompile of all this stuff with 'CXXFLAGS=-s -O2' or something like that?
>
>  I know MinGW has a strip tool which works nicely on executables, but running "strip -g *.dll" or similar seems to cause nothing but issues.
>
>  Thanks in advance.
>
>  - Paul Goins

A quick search through the gtkmm list archives shows this related
email: http://mail.gnome.org/archives/gtkmm-list/2007-November/msg00086.html
Unfortunately, I don't have any further insight on the matter since I
don't have windows development experience.
-- 
jonner


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