Win32: Getting size of DLLs down for redist with app


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

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