mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-01-08 23:05:30 +00:00
make.sh: rename option nix32 to linux32 according to aquynh's advise. Also update COMPILE-NIX.md to reflect this change.
This commit is contained in:
parent
dc6ab13d8b
commit
dcd06b087f
|
@ -74,9 +74,9 @@ To build Unicorn on *nix (such as MacOSX, Linux, *BSD, Solaris):
|
||||||
|
|
||||||
$ UNICORN_QEMU_FLAGS="--python=/path/to/python2" ./make.sh
|
$ 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 Linux to target 32-bit binary, run:
|
||||||
|
|
||||||
$ ./make.sh nix32
|
$ ./make.sh linux32
|
||||||
|
|
||||||
After compiling, install Unicorn with:
|
After compiling, install Unicorn with:
|
||||||
|
|
||||||
|
|
4
make.sh
4
make.sh
|
@ -57,7 +57,7 @@ build_cross() {
|
||||||
${MAKE}
|
${MAKE}
|
||||||
}
|
}
|
||||||
|
|
||||||
build_nix32() {
|
build_linux32() {
|
||||||
PKG_CONFIG_PATH="/usr/lib/i386-linux-gnu/pkgconfig" \
|
PKG_CONFIG_PATH="/usr/lib/i386-linux-gnu/pkgconfig" \
|
||||||
CFLAGS=-m32 \
|
CFLAGS=-m32 \
|
||||||
LDFLAGS=-m32 \
|
LDFLAGS=-m32 \
|
||||||
|
@ -127,7 +127,7 @@ case "$1" in
|
||||||
"ios_armv7" ) build_iOS armv7;;
|
"ios_armv7" ) build_iOS armv7;;
|
||||||
"ios_armv7s" ) build_iOS armv7s;;
|
"ios_armv7s" ) build_iOS armv7s;;
|
||||||
"ios_arm64" ) build_iOS arm64;;
|
"ios_arm64" ) build_iOS arm64;;
|
||||||
"nix32" ) build_nix32;;
|
"linux32" ) build_linux32;;
|
||||||
* )
|
* )
|
||||||
echo "Usage: $0 ["`grep '^ "' $0 | cut -d '"' -f 2 | tr "\\n" "|"`"]"
|
echo "Usage: $0 ["`grep '^ "' $0 | cut -d '"' -f 2 | tr "\\n" "|"`"]"
|
||||||
exit 1;;
|
exit 1;;
|
||||||
|
|
Loading…
Reference in a new issue