cURL / Mailing Lists / curl-users / Single Mail

curl-users

Diffs for building libcurl on NT with VC6

From: Wham Bang <wham_bang_at_yahoo.com>
Date: Thu, 16 Mar 2000 11:49:01 -0800 (PST)

Hi all,

So I got around to trying to build libcurl.lib from the new cURL6.5
package. Appended below are the changes I had to make to get it
building (and linking against a simple test program). I also
got quite a bunch of warnings during compilation. Anyone interested
in seeing them?

config-win32.h:
===================================================================
RCS file: RCS/config-win32.h,v
retrieving revision 1.1
diff -r1.1 config-win32.h
150c150
< #define HAVE_UNISTD_H 1

---
> /* #define HAVE_UNISTD_H 1 */
156c156
< #define VERSION "6.3.1"
---
> #define VERSION "6.5"
lib/makefile.vc6:
===================================================================
RCS file: RCS/makefile.vc6,v
retrieving revision 1.1
diff -r1.1 makefile.vc6
26c26
< CFLAGS = /nologo /W3 /GX /D "WIN32" /D "_MBCS" /D "_LIB" /YX /FD /c
---
> CFLAGS = /nologo /I "../include" /W3 /GX /D "WIN32" /D "_MBCS" /D
"_LIB" /YX /FD /c
38a39
>       ldapr.obj \
53d53
<       uploadr.obj \
55a56
>       writeoutr.obj \
65a67
>       ldapd.obj \
80d81
<       uploadd.obj \
82a84
>       writeoutd.obj \
92a95
>       ldaprs.obj \
107d109
<       uploadrs.obj \
109a112
>       writeouts.obj \
119a123
>       ldap.obj \
134d137
<       upload.obj \
136a140
>       writeout.obj \
165a170,171
> ldapr.obj: ldap.c
>       $(CCR) $(CFLAGS) ldap.c
194,195d199
< uploadr.obj: upload.c
<       $(CCR) $(CFLAGS) upload.c
199a204,205
> writeoutr.obj: writeout.c
>       $(CCR) $(CFLAGS) writeout.c
217a224,225
> ldapd.obj: ldap.c
>       $(CCD) $(CFLAGS) ldap.c
246,247d253
< uploadd.obj: upload.c
<       $(CCD) $(CFLAGS) upload.c
251a258,259
> writeoutd.obj: writeout.c
>       $(CCD) $(CFLAGS) writeout.c
270a279,280
> ldaprs.obj: ldap.c
>       $(CCRS) $(CFLAGS) ldap.c
299,300d308
< uploadrs.obj: upload.c
<       $(CCRS) $(CFLAGS) upload.c
304a313,314
> writeouts.obj: writeout.c
>       $(CCRS) $(CFLAGS) writeout.c
=====
Wham! <wham_bang_at_yahoo.com>
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com
Received on 2000-03-16