Gisle Vanem's djgpp/MS-DOS updates

This commit is contained in:
Daniel Stenberg
2004-03-29 12:29:25 +00:00
parent 712d0374f7
commit 126ed14313
7 changed files with 202 additions and 135 deletions

View File

@@ -2,3 +2,10 @@ Gisle Vanem made curl build fine on DOS (and MingW) with djgpp, OpenSSL and his
Watt-32 stack.
'make djgpp' in the root curl dir should build it fine.
Note 1: djgpp 2.04 beta has a sscanf() bug so the URL parsing isn't
done proberly. Use djgpp 2.03 until they fix it.
Note 2: Compile Watt-32 (and OpenSSL) with the same version of djgpp.
Otherwise things go wrong because things like FS-extensions and
errnos have been changed between releases.

View File

@@ -25,7 +25,12 @@ USE_ZLIB = 0
#
# Use Watt-32 IPv6 stack (only IPv6 name resolution working at the moment)
#
USE_IPV6 = 1
USE_IPV6 = 0
#
# Enable debug code in libcurl/curl
#
USE_DEBUG = 0
default: all
@@ -35,12 +40,12 @@ default: all
#
WATT32_ROOT = $(subst \,/,$(WATT_ROOT))
OPENSSL_ROOT = /net/openssl.098
ZLIB_ROOT = /djgpp/contrib/zlib.121
ZLIB_ROOT = /djgpp/contrib/zlib
CC = gcc
YACC = bison -y
CFLAGS = -g -O2 -I. -I../include -Wall -DHAVE_CONFIG_H -DHAVE_SPNEGO
CFLAGS = -g -O2 -I. -I../include -I../lib -Wall -DHAVE_CONFIG_H
ifeq ($(USE_SSL),1)
CFLAGS += -DUSE_SSLEAY
@@ -54,6 +59,10 @@ ifeq ($(USE_IPV6),1)
CFLAGS += -DENABLE_IPV6
endif
ifeq ($(USE_DEBUG),1)
CFLAGS += -DDEBUG=1 -DCURLDEBUG #-DMALLOCDEBUG=1 -DDPRINTF_DEBUG2=1
endif
#
# Generated dependencies; Due to some hacks in gcc 2.95+ and djgpp 2.03
# we must prevent "$(DJDIR)/bin/../include/sys/version.h" from beeing