docs: install dependency for cross-compile to i386

This commit is contained in:
Nguyen Anh Quynh 2016-08-18 17:26:56 +08:00
parent dcd06b087f
commit 3eb03a8422

View File

@ -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