make
${{matrix.cc_pkg}}
pkgconf
- - run: CFLAGS="$DEF_CFLAGS" ./tools/make-windows-release ${{matrix.options}}
+ - run: CFLAGS="$DEF_CFLAGS" ./tools/windows-build.sh ${{matrix.options}}
- uses: actions/upload-artifact@v3
with:
name: windows-${{matrix.msystem}}-bin
Fixed a bug in 'wimsplit' where it didn't accept part sizes of 4 GiB or
larger on Windows and on 32-bit platforms.
- The README.WINDOWS file and the tools/make-windows-release script have
- been improved to make it easier to build wimlib on Windows. The
- instructions now use MSYS2 (instead of Cygwin as they did before), and
- both gcc and clang are supported.
+ The README.WINDOWS file and the tools/windows-build.sh script (renamed
+ from 'make-windows-release') have been improved to make it easier to
+ build wimlib on Windows. The instructions now use MSYS2 (instead of
+ Cygwin as they did before), and both gcc and clang are supported.
Removed support for Windows XP.
e.g. 'cd wimlib && git checkout v1.14.0'. For old versions, please refer to the
documentation for that version, as things may have changed. Also, it is
possible to use a release tarball (e.g. wimlib-1.14.0.tar.gz) instead of the git
-repository; however, the make-windows-release script will not be available in
-that case and you will need to handle more things yourself.
+repository; however, the windows-build.sh script will not be available in that
+case and you will need to handle more things yourself.
Finally, to actually do a build, close the MSYS2 shell you have open, then open
one of the following from the Start menu:
(If unsure, use "MSYS2 MINGW64".) Then run the following commands:
cd wimlib
- tools/make-windows-release --install-prerequisites
+ tools/windows-build.sh --install-prerequisites
The script will automatically download and install the packages needed to build
wimlib in the chosen MSYS2 environment, then build wimlib. The output will be
libdeflate-gzip -12 $tarfile
for arch in i686 x86_64; do
- ./tools/make-windows-release --arch=$arch --include-docs --zip
+ ./tools/windows-build.sh --arch=$arch --include-docs --zip
done
#!/bin/bash
#
-# This script prepares a Windows binary distribution of wimlib.
+# This script builds wimlib for Windows. It supports both MSYS2 and Linux.
set -e -u