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

2008-03-29 Thread Paul Goins
Armin Burgmeier wrote:
 What do you mean by causes nothing but issues? I don't have any
 problems stripping DLLs (though I don't use the -g flag, and I don't
 know what it does).

Well, if I run a strip command against *.dll to get sizes down (which
includes other GTK-but-not-GTKmm dlls), I end up with crashes on
startup.  Example: The application failed to initialize properly
(0xc07b).  Click on OK to terminate the application.

I just tried running the command against *mm*.dll instead, and that
-seems- to work and the app does start.  However, if running strip on
the other DLLs causes problems like that, then it makes me a little
nervous hoping that things are gonna work right by running it on only
a few DLLs.  Probably it's just my paranoia/lack of experience talking
though.

By the way, the -g flag is specifically for stripping debug symbols.

Thanks.

- Paul Goins
___
gtkmm-list mailing list
gtkmm-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtkmm-list


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

2008-03-29 Thread Armin Burgmeier
On Sun, 2008-03-30 at 00:37 +0900, Paul Goins wrote:
 Armin Burgmeier wrote:
  What do you mean by causes nothing but issues? I don't have any
  problems stripping DLLs (though I don't use the -g flag, and I don't
  know what it does).
 
 Well, if I run a strip command against *.dll to get sizes down (which
 includes other GTK-but-not-GTKmm dlls), I end up with crashes on
 startup.  Example: The application failed to initialize properly
 (0xc07b).  Click on OK to terminate the application.

Ah. I remember having had similar problems when trying to strip DLLs not
compiled with mingw (or at least this is what I assumed the problem
was).

 I just tried running the command against *mm*.dll instead, and that
 -seems- to work and the app does start.  However, if running strip on
 the other DLLs causes problems like that, then it makes me a little
 nervous hoping that things are gonna work right by running it on only
 a few DLLs.  Probably it's just my paranoia/lack of experience talking
 though.
 
 By the way, the -g flag is specifically for stripping debug symbols.
 
 Thanks.
 
 - Paul Goins

Armin

___
gtkmm-list mailing list
gtkmm-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtkmm-list


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

2008-03-28 Thread Jonathon Jongsma
On Thu, Mar 27, 2008 at 11:57 PM, Paul Goins [EMAIL PROTECTED] 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-x1 Vultaire Administ  2324687 Mar 25 11:28 libatkmm-1.6-1.dll
  -rwxr-xr-x1 Vultaire Administ  1670572 Mar 25 10:39 libcairomm-1.0-1.dll
  -rwxr-xr-x1 Vultaire Administ  3597587 Mar 25 11:29 libgdkmm-2.4-1.dll
  -rwxr-xr-x1 Vultaire Administ  4373851 Mar 25 10:30 libglibmm-2.4-1.dll
  -rwxr-xr-x1 Vultaire Administ  1099662 Mar 25 10:29 
 libglibmm_generate_extra_defs-2.4-1.dll
  -rwxr-xr-x1 Vultaire Administ 35328804 Mar 25 11:29 libgtkmm-2.4-1.dll
  -rwxr-xr-x1 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
___
gtkmm-list mailing list
gtkmm-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtkmm-list


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

2008-03-28 Thread Armin Burgmeier
On Thu, 2008-03-27 at 21:57 -0700, Paul Goins 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-x1 Vultaire Administ  2324687 Mar 25 11:28 libatkmm-1.6-1.dll
 -rwxr-xr-x1 Vultaire Administ  1670572 Mar 25 10:39 libcairomm-1.0-1.dll
 -rwxr-xr-x1 Vultaire Administ  3597587 Mar 25 11:29 libgdkmm-2.4-1.dll
 -rwxr-xr-x1 Vultaire Administ  4373851 Mar 25 10:30 libglibmm-2.4-1.dll
 -rwxr-xr-x1 Vultaire Administ  1099662 Mar 25 10:29 
 libglibmm_generate_extra_defs-2.4-1.dll
 -rwxr-xr-x1 Vultaire Administ 35328804 Mar 25 11:29 libgtkmm-2.4-1.dll
 -rwxr-xr-x1 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.

What do you mean by causes nothing but issues? I don't have any
problems stripping DLLs (though I don't use the -g flag, and I don't
know what it does).

I only had problems stripping .dll.a files (import libraries) for which
I need to pass the --strip-unneeded flag, otherwise strip renders them
unusable (as in applications linking against them get undefined
references for the symbols that should be defined in the import
library).

 
 Thanks in advance.
 
 - Paul Goins

Armin

 ___
 gtkmm-list mailing list
 gtkmm-list@gnome.org
 http://mail.gnome.org/mailman/listinfo/gtkmm-list

___
gtkmm-list mailing list
gtkmm-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtkmm-list