[Box Backup] Remove dependencies on mgwz.dll, mingwm10.dll and
shrink resulting .exe
Sat, 04 Apr 2009 01:06:22 +0200
On 31/3/09 14:00, Chris Wilson 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
This would make the source consistent with R2457: "We no longer require
mgwz.dll as we build zlib as a static library.", because without the
--enable-static-bin the dependency on mgwx.dll is still there!
>> 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.
I will have a look at this and send you then changes.
Best regards, Achim