-
authorricharddeurtje@gmail.com
Sat, 24 Mar 2012 15:21:33 +0000
changeset 210 3709bd70d27c
parent 209 26805ae2a319
child 211 2aebd9de1a5e
-
HedgeroidGuide.wiki
--- a/HedgeroidGuide.wiki	Mon Mar 19 19:01:55 2012 +0000
+++ b/HedgeroidGuide.wiki	Sat Mar 24 15:21:33 2012 +0000
@@ -56,6 +56,8 @@
 make crossinstall CPU_TARGET=arm OS_TARGET=linux CROSSBINDIR=<ndk>/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin OPT=-dFPC_ARMEL BINUTILSPREFIX=arm-linux-androideabi- INSTALL_PREFIX=<fpc>/fpc_install
 }}}
 
+Note: The flag CROSSBINDDIR points to the ndk/toolchain/../prebuilt/linux-x86/bin dir, change linux-x86 to your host machine, so for windows it would be 'windows' instead of linux-x86
+
 ==Final==
 
 We will generate the Makefile.android, which is needed to compile hedgewars, download SDL and you’ll need to make sure cmake knows where all the compilers are
@@ -88,7 +90,7 @@
 
 {{{
 cd <hedgewars-root>
-cmake . -DBUILD_ANDROID_PORT=1
+cmake . -DANDROID=1
 }}}
 And that’s it. To compile: