From b61be299c9fc00e8d2252fa3f12c6005686783d6 Mon Sep 17 00:00:00 2001
From: Mike Pall
-make HOST_CC="gcc -m32" CROSS=arm-linux-gnueabi- TARGET=arm +make HOST_CC="gcc -m32" CROSS=arm-linux-gnueabi-
You can cross-compile for Android (ARM) using the » Android NDK. @@ -368,7 +368,7 @@ NDKABI=8 NDKVER=$NDK/toolchains/arm-linux-androideabi-4.4.3 NDKP=$NDKVER/prebuilt/linux-x86/bin/arm-linux-androideabi- NDKF="--sysroot $NDK/platforms/android-$NDKABI/arch-arm" -make HOST_CC="gcc -m32" CROSS=$NDKP TARGET_FLAGS="$NDKF" TARGET=arm +make HOST_CC="gcc -m32" CROSS=$NDKP TARGET_FLAGS="$NDKF"
You can cross-compile for iOS 3.0+ (iPhone/iPad) using the » iOS SDK. @@ -387,7 +387,7 @@ ISDKVER=iPhoneOS4.3.sdk ISDKP=$ISDK/usr/bin/ ISDKF="-arch armv6 -isysroot $ISDK/SDKs/$ISDKVER" make HOST_CC="gcc -m32 -arch i386" CROSS=$ISDKP TARGET_FLAGS="$ISDKF" \ - TARGET=arm TARGET_SYS=iOS + TARGET_SYS=iOS
You can cross-compile for a PPC target or a @@ -398,11 +398,11 @@ of the toolchain:
# PPC -make HOST_CC="gcc -m32" CROSS=powerpc-linux-gnu- TARGET=ppc +make HOST_CC="gcc -m32" CROSS=powerpc-linux-gnu-
# PPC/e500v2 -make HOST_CC="gcc -m32" CROSS=powerpc-e500v2-linux-gnuspe- TARGET=ppcspe +make HOST_CC="gcc -m32" CROSS=powerpc-e500v2-linux-gnuspe-
Whenever the host OS and the target OS differ, you need to specify -- cgit v1.2.3-55-g6feb