From 8212750fe9ac4ca130432fed0be8976faaae453e Mon Sep 17 00:00:00 2001 From: Nicolas Williams Date: Wed, 4 Jun 2014 18:29:30 -0500 Subject: [PATCH] Add cross-compilation notes to README A detailed set of instruction as to how to setup a cross-compilation environment for OS X and Win32/64 would be nice. --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 53ff2630..bbc94167 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,8 @@ bison installed. To build, run: autoreconf -i ./configure - make + make -j8 + make check After make finishes, you'll be able to use `./jq`. You can also install it using: @@ -27,3 +28,8 @@ install it using: If you're not using the latest git version but instead building a released tarball (available on the website), then you won't need to run `autoreconf` (and shouldn't), and you won't need flex or bison. + +To cross-compile for OS X and Windows, see docs/Rakefile's build task +and scripts/crosscompile. You'll need a cross-compilation environment, +such as Mingw for cross-compiling for Windows. +