I was forced to use my old Win-XP PC this week (my ordinary PC is on service). So that gave me a chance to build libcurl using MSDOS/djgpp (which seems the last good platform for DOS-development).
The end result (i.e. curl) still works fine except for some details in the lib/Makefile.dj. A changelog + patch: Add a VPATH-statement for the vtls/*.c files. Due to 'vtls/*.c', remove that subdir part from $(OBJECTS). --- a/makefile.dj 2015-10-21 11:22:38 +0000 +++ b/makefile.dj 2015-10-21 13:09:53 +0000 @@ -26,12 +26,14 @@ # DEPEND_PREREQ = curl_config.h +VPATH = vtls TOPDIR = .. include ../packages/DOS/common.dj include Makefile.inc -OBJECTS := $(patsubst %.c,$(OBJ_DIR)/%.o,$(strip $(CSOURCES))) +SOURCES = $(sort $(CSOURCES)) +OBJECTS = $(addprefix $(OBJ_DIR)/, $(notdir $(SOURCES:.c=.o))) CURL_LIB = libcurl.a ------------------ --gv ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html