Gisle Vanem's djgpp/MS-DOS updates
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user