update COMPILE.TXT for Python2 requirement
This commit is contained in:
10
COMPILE.TXT
10
COMPILE.TXT
@ -98,15 +98,15 @@ Unicorn requires few dependent packages as follows.
|
|||||||
|
|
||||||
$ ./make.sh
|
$ ./make.sh
|
||||||
|
|
||||||
|
- Unicorn requires Python 2.x to compile. If Python 2.x is not the default
|
||||||
|
Python interpreter, ensure that the appropriate option is set:
|
||||||
|
|
||||||
|
$ UNICORN_QEMU_FLAGS="--python=/path/to/python2" ./make.sh
|
||||||
|
|
||||||
- To cross-compile Unicorn on 64-bit OS to target 32-bit binary, run:
|
- To cross-compile Unicorn on 64-bit OS to target 32-bit binary, run:
|
||||||
|
|
||||||
$ ./make.sh nix32
|
$ ./make.sh nix32
|
||||||
|
|
||||||
- If Python 2.x is not the default Python interpreter, ensure that the
|
|
||||||
appropriate option is set:
|
|
||||||
|
|
||||||
$ UNICORN_QEMU_FLAGS="--python=/path/to/python2" ./make.sh
|
|
||||||
|
|
||||||
After compiling, install Unicorn with:
|
After compiling, install Unicorn with:
|
||||||
|
|
||||||
$ sudo ./make.sh install
|
$ sudo ./make.sh install
|
||||||
|
Reference in New Issue
Block a user