cURL / Mailing Lists / curl-library / Single Mail

curl-library

The winbuild nmake instructions result in "libcurl_a.lib"

From: Nick Martin <nmartin867_at_gmail.com>
Date: Sat, 3 Sep 2011 09:51:16 -0600

Hello everyone,

I am trying to build a static libcurl lib for the win32 platform and
failing. I am using the instructions included in a text file,
"/winbuild/BUILD.WINDOWS". The instructions give the following nmake
example:

nmake /f makefile.vc mode=<static or dll> <options>

From my VS10 command prompt I have tried the above with the following
values:

nmake /f makefile.vc mode=static DEBUG=no

This builds and 3 folders are created under the 'builds' directory. The
first folder, "libcurl-release-static-ipv6-sspi" contains a lib directory.
Within it is the only static lib created. The library is called,
"libcurl_a.lib". I was expecting, "libcurl.lib".

I tried to link to this lib just "for fun" but it appears to not
be behaving correctly.

I hope this is the appropriate list for this kind of question.

Does anyone here know the correct way to build a static lib for win32? Point
me to some documentation?

Thanks

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-09-03