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.
This commit is contained in:
1 parent
35b6b949e3
commit
8212750fe9
1 file changed
+7
-1
@@ -17,7 +17,8 @@ bison installed. To build, run:
|
|||||||
|
|
||||||
autoreconf -i
|
autoreconf -i
|
||||||
./configure
|
./configure
|
||||||
make
|
make -j8
|
||||||
|
make check
|
||||||
|
|
||||||
After make finishes, you'll be able to use `./jq`. You can also
|
After make finishes, you'll be able to use `./jq`. You can also
|
||||||
install it using:
|
install it using:
|
||||||
@@ -27,3 +28,8 @@ install it using:
|
|||||||
If you're not using the latest git version but instead building a
|
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
|
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.
|
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.
|
||||||
|
|
||||||
Reference in new issue
Block a user