Skip to content

Commit

Permalink
docs: install dependency for cross-compile to i386
Browse files Browse the repository at this point in the history
  • Loading branch information
aquynh committed Aug 18, 2016
1 parent dcd06b0 commit 3eb03a8
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion docs/COMPILE-NIX.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 3eb03a8

Please sign in to comment.