[Box Backup] Remove dependencies on mgwz.dll, mingwm10.dll and shrink resulting .exe

Chris Wilson boxbackup@boxbackup.org
Tue, 31 Mar 2009 14:00:36 +0200 (CEST)


Hi Achim,

On Tue, 31 Mar 2009, Achim wrote:

> Do you agree however that we can change 
> infrastructure/mingw/configure.sh to include "--enable-static-bin" to 
> eliminate the dependency on mgwz.dll? Do you need any other information 
> for this change request?

I haven't tested it yet, but if it works then I have no objection to doing 
so, in fact I'm happier to distribute an executable with one less 
dependency.

> Would it perhaps be possible to have stripping included in the Makefile, 
> perhaps by introducing the targets make-release and make-debug, with the 
> default make pointing to make-debug, and make-release doing the 
> stripping of resulting binaries automatically after linking?

Yes, it would be possible.

Cheers, Chris.
-- 
_ ___ __     _
  / __/ / ,__(_)_  | Chris Wilson <0000 at qwirx.com> - Cambs UK |
/ (_/ ,\/ _/ /_ \ | Security/C/C++/Java/Perl/SQL/HTML Developer |
\ _/_/_/_//_/___/ | We are GNU-free your mind-and your software |