Useful resources:
- libarchive's "Building on Windows" Build Instructions
- xzutils's
INSTALL - xzutils's
windows/INSTALL-windows.txt - MinGW's "Getting Started"
-
Install MinGW. Refer to MinGW's "Getting Started" guide.
I used the
mingw-get-setup.exeinstaller.Mark the "mingw32-base" package for installation, which includes a port of the standard GNU compiler toolchain.
-
Install CMake. I used the installer.
-
Install zlib from the GNUWin32 project.
-
Drop the
-
Build xzutils. Refer to xzutil's [
windows/INSTALL-windows.txt] for beautifully- detailed instructions.