From e60b238b4bee8a6e0efe1e9c136eeeca49b95bc6 Mon Sep 17 00:00:00 2001 From: Eric Biggers Date: Fri, 26 Aug 2016 23:03:39 -0700 Subject: [PATCH] README.md: add more details about building with MinGW --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index d8e358a..85d04bf 100644 --- a/README.md +++ b/README.md @@ -38,10 +38,16 @@ the Makefile for details. ## For Windows MinGW (GCC) is the recommended compiler to use when building binaries for -Windows. MinGW can be used on either Windows or Linux. Use a command like: +Windows. MinGW can be used on either Windows or Linux. On Windows, you'll need +the compiler as well as GNU Make and basic UNIX tools such as `sh`. This is +most easily set up with Cygwin, but some standalone MinGW distributions for +Windows also work. Or, on Linux, you'll need to install the `mingw-w64-gcc` or +similarly-named package. Once ready, do the build using a command like: $ make CC=x86_64-w64-mingw32-gcc +Some MinGW distributions for Windows may require `CC=gcc` instead. + Windows binaries prebuilt with MinGW may also be downloaded from https://github.com/ebiggers/libdeflate/releases.