# HG changeset patch # User richarddeurtje@gmail.com # Date 1332602493 0 # Node ID 3709bd70d27c800e29ade96d7ccb9024e1cdc4bc # Parent 26805ae2a319225d0e8c2cba3cf8d8b109983071 - diff -r 26805ae2a319 -r 3709bd70d27c 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=/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin OPT=-dFPC_ARMEL BINUTILSPREFIX=arm-linux-androideabi- INSTALL_PREFIX=/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 -cmake . -DBUILD_ANDROID_PORT=1 +cmake . -DANDROID=1 }}} And that’s it. To compile: