cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: how to link with static C runtime?

From: Gisle Vanem <giva_at_bgnett.no>
Date: Mon, 6 Dec 2004 14:09:12 +0100

"Dmitry Babitsky" wrote:

> I'm trying to statically link in c-runtime lib(on windows: LIBCMT as opposed
> to MSVCRT)
> i changed the switch in the makefile, libcurl.lib is compiled/linked
> correctly, but curl.exe is not.

Built with "cl -MT" in both ./lib/Makefile.vc6 and ./src/Makefile.vc6
should do it. Ref. "cl /?" for options.
 
--gv
Received on 2004-12-06