Re: Static linking on Windows
- From: José Alburquerque <jaalburquerque cox net>
- To: Bruce Sherwood <Bruce_Sherwood ncsu edu>
- Cc: gtkmm-list <gtkmm-list gnome org>
- Subject: Re: Static linking on Windows
- Date: Thu, 08 Nov 2007 12:51:22 -0500
Bruce Sherwood wrote:
In fact, Robert Pearce pointed me to Dependency Walker (I had failed to
ask the right question of Google to find it myself), and it did a great
job of identifying everything. In fact, I passed it a .pyd file and it
happily analyzed it. Thanks to both of you for pointing me to this.
On Unix systems, the 'strip' command does what you're asking about, but
I'm not sure that there is a similar command on Windows. It should be
available through MinGW though (try 'man strip' at the command line).
There remains pending for me the fact that using gtkmm instead of
Windows-specific windowing code increases my binary from 4 MB to 40 MB.
It was suggested that one can strip the dll's, but I don't know how to
do that. I installed gtkmm etc. from Windows binary downloads.
] [Thread Prev