From ba689997defb7be6c912934fe81d97465603415e Mon Sep 17 00:00:00 2001 From: Nick White Date: Wed, 3 Nov 2021 13:23:35 +0000 Subject: Update windows build config and add a basic guide to get it working --- config.mk | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'config.mk') diff --git a/config.mk b/config.mk index f763235..e9505e9 100644 --- a/config.mk +++ b/config.mk @@ -11,8 +11,6 @@ LIBS = -lssl -lcrypto CFLAGS = -std=c99 -pedantic -Wall -Wextra -Werror -g -D_POSIX_C_SOURCE=200112L \ -DVERSION=\"$(VERSION)\" -W32TCLKIT = tclkit-8.5.9-win32.upx.exe - # glibc dynamic CC = cc LDFLAGS = $(LIBS) @@ -22,9 +20,11 @@ LDFLAGS = $(LIBS) #LDFLAGS = $(LIBS) -static #-s # mingw +#W32TCLKIT = tclkit-gui-8_6_11-twapi-4_5_2-x86-max.exe +#OPENSSLDIR = $(HOME)/tmp/openssl-1.1.1l #CC = i686-w64-mingw32-gcc #AR = i686-w64-mingw32-ar -#CFLAGS = -ansi -Wall -DVERSION=\"$(VERSION)\" -DWINVER=0x0501 -#LDFLAGS = $(LIBS) -lws2_32 +#CFLAGS = -ansi -Wall -DVERSION=\"$(VERSION)\" -DWINVER=0x0501 -I$(OPENSSLDIR)/include +#LDFLAGS = -L$(OPENSSLDIR) $(LIBS) -lws2_32 -static LD = $(CC) -- cgit v1.2.3 From 16e4a02c794d61137b2f175e958d274eb464656b Mon Sep 17 00:00:00 2001 From: Nick White Date: Wed, 3 Nov 2021 13:42:37 +0000 Subject: Simplify windows build instructions and package up all windows dependencies into a tarball --- config.mk | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'config.mk') diff --git a/config.mk b/config.mk index e9505e9..3012d1f 100644 --- a/config.mk +++ b/config.mk @@ -20,8 +20,9 @@ LDFLAGS = $(LIBS) #LDFLAGS = $(LIBS) -static #-s # mingw -#W32TCLKIT = tclkit-gui-8_6_11-twapi-4_5_2-x86-max.exe -#OPENSSLDIR = $(HOME)/tmp/openssl-1.1.1l +#W32TCLKIT = win-build-deps/tclkit-gui-8_6_11-twapi-4_5_2-x86-max.exe +#OPENSSLDIR = win-build-deps/openssl-1.1.1l +#SDX = ./win-build-deps/sdx #CC = i686-w64-mingw32-gcc #AR = i686-w64-mingw32-ar #CFLAGS = -ansi -Wall -DVERSION=\"$(VERSION)\" -DWINVER=0x0501 -I$(OPENSSLDIR)/include -- cgit v1.2.3