cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Static linking with mingw without msys (7.29)

From: Andrew Clarkin <ajclarkin_at_gmail.com>
Date: Fri, 22 Feb 2013 12:15:15 +0000

Hi Gün

On Tue, Feb 19, 2013 at 1:29 PM, Guenter <lists_at_gknw.net> wrote:

>
> yeah, I remember I had this same issue too with an older MinGW version (I think it was 4.5.2 or 4.6.2); you have three options:
>
> 1. try with latest MinGW again (though I didnt compile with latest but with 4.7.0)

Well, that sorted it out completely. Turns out I was using 4.5.2 - I
can't believe I didn't think to upgrade before now. I downloaded the
new version of MinGW and then makefile worked just fine. Excellent!

Two follow-up questions:
Would you recommend copying the makefile and m32 file for use with my
own applications as well?

simple.c compiles to a 2.5 Mb file, even when I alter the makefile
options to set SSL, SSH2, ZLIB and so on to 0. Is this normal and is
there anything I can do to reduce the size of the final executable?

Thanks again.
Andrew

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2013-02-22