Skip to content

Instantly share code, notes, and snippets.

@benesch
Last active April 18, 2018 03:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save benesch/7f5b9de8b9ba1b8f41c3 to your computer and use it in GitHub Desktop.
Save benesch/7f5b9de8b9ba1b8f41c3 to your computer and use it in GitHub Desktop.
Building libarchive on Windows with LZMA support

Useful resources:

Environment setup

  1. Install MinGW. Refer to MinGW's "Getting Started" guide.

    I used the mingw-get-setup.exe installer.

    Mark the "mingw32-base" package for installation, which includes a port of the standard GNU compiler toolchain.

  2. Install CMake. I used the installer.

  3. Install zlib from the GNUWin32 project.

  4. Drop the

  5. Build xzutils. Refer to xzutil's [windows/INSTALL-windows.txt] for beautifully- detailed instructions.

@vinhcomputer
Copy link

  1. Drop the what?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment