Overview
| Artifact ID: | 060d3544239694e5d233f2f25bcd590a4a0ac450c6dc08e85bcf9dcbf8d6fd1c |
|---|---|
| Ticket: | 62e693e66887d3739ab8059aa1e1abfe69d78403
windows: msys: gcc version 10.1.0 32-bit build fails due to zlib incompatibility |
| User & Date: | bll on 2020-05-30 15:26:31 |
Changes
- assignee changed to: "jan.nijtmans"
- icomment:
a) Build compat/zlib using gcc 10.1.0: make -f win32/Makefile.gcc LDFLAGS=-static-libgcc b) Copy the files: cp libz.dll.a zlib1.dll win32 c) Change 'configure' to link with libz.dll.a for win32: $ diff configure-orig configure 4414c4414 < ZLIB_LIBS=\${ZLIB_DIR_NATIVE}/win32/zdll.lib --- > ZLIB_LIBS=\${ZLIB_DIR_NATIVE}/win32/libz.dll.a d) Fix Makefile.in to copy the correct zlib1.dll: $ diff Makefile.in-orig Makefile.in 516,521d515 < @if test "@ZLIB_LIBS@set" != "${ZLIB_DIR_NATIVE}/win32/zdll.libset" ; then \ < $(COPY) $(ZLIB_DIR)/win64/${ZLIB_DLL_FILE} ${ZLIB_DLL_FILE}; \ < else \ < $(COPY) $(ZLIB_DIR)/win32/${ZLIB_DLL_FILE} ${ZLIB_DLL_FILE}; \ < fi; < 522a517 > $(COPY) `dirname @ZLIB_LIBS@`/${ZLIB_DLL_FILE} ${ZLIB_DLL_FILE} I tried creating a new zdll.lib and linking with it, but that did not work. I did not test keeping the original zlib1.dll and linking with the new libz.dll.a. - login: "bll"
- mimetype: "text/plain"