designed for UNIX-like systems and is easiest to use on Linux, it's possible to
build Windows binaries on Windows using Cygwin with MinGW. To do this, follow
the instructions below. For the sake of example, I'll assume you are building a
-64-bit version of wimlib v1.11.0.
+64-bit version of wimlib v1.13.0.
Run the Cygwin installer, available from https://www.cygwin.com/setup-x86.exe.
When you get to the package selection screen, choose the following additional
- mingw64-x86_64-pkg-config
- mingw64-x86_64-winpthreads
-Download wimlib's source code from https://wimlib.net/downloads/wimlib-1.11.0.tar.gz.
+Download wimlib's source code from https://wimlib.net/downloads/wimlib-1.13.0.tar.gz.
Start a Cygwin terminal and run the following commands:
cd /cygdrive/c/Users/example/Downloads # (or wherever you downloaded the source to)
- tar xf wimlib-1.11.0.tar.gz
- cd wimlib-1.11.0
+ tar xf wimlib-1.13.0.tar.gz
+ cd wimlib-1.13.0
./configure --host=x86_64-w64-mingw32
make
git clone git://wimlib.net/wimlib
cd wimlib
- git checkout v1.11.0
+ git checkout v1.13.0
./bootstrap
./tools/make-windows-release x86_64
The release script will download and build libxml2 and winpthreads as static
libraries, then build wimlib, then do some final tasks and bundle the resulting
files up into a ZIP archive. If successful you'll end up with a file like
-"wimlib-1.11.0-windows-x86_64-bin.zip", just like the official releases. For
+"wimlib-1.13.0-windows-x86_64-bin.zip", just like the official releases. For
32-bit binaries just use "i686" instead of "x86_64".