cURL / Mailing Lists / curl-library / Single Mail


Re: libcURL build static lib

From: Ben Noordhuis <>
Date: Tue, 31 May 2011 17:29:51 +0200

On Tue, May 31, 2011 at 04:18, mammar <> wrote:
> My apologies for top-posting Ben.
> Is it fine now?

Much better, thanks!

> Instead of linking with msvcrt.lib/msvcrt.a, can't we generate a
>  libcurl.lib file?

Just so we're on the same level: the libcurl.a is for all practical
means and purposes a .lib[1]. Since curl uses stdlib functions, you
also need msvcrt.a. Size-wise this is a non-issue because the linker
will only use the bits of both *.a files that it needs for the final

[1] It might in fact be an actual .lib with another extension but
that depends on the calling convention it's compiled with. Should be
__stdcall for win32 applications, I think.

List admin:
Received on 2011-05-31