diff --git a/docs/COMPILE-NIX.md b/docs/COMPILE-NIX.md index c56e9c45..d924c336 100644 --- a/docs/COMPILE-NIX.md +++ b/docs/COMPILE-NIX.md @@ -74,7 +74,12 @@ To build Unicorn on *nix (such as MacOSX, Linux, *BSD, Solaris): $ UNICORN_QEMU_FLAGS="--python=/path/to/python2" ./make.sh -- To cross-compile Unicorn on 64-bit Linux to target 32-bit binary, run: +- To cross-compile Unicorn on 64-bit Linux to target 32-bit binary, install + libglib2.0-dev for i386. On Ubuntu, this can be done with: + + $ sudo apt-get install libglib2.0-dev:i386 + + Then cross-compile to 32-bit with: $ ./make.sh linux32