From 18f4ff23179620e834aa3ebd83a2e15c2f77cbe1 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Fri, 17 Feb 2012 13:54:25 +0200 Subject: Recommend to use NDK r7b Drop compiler options -fexceptions -frtti for Android, I hope they are taken care of by the makefilery where needed. At least either -fexceptions or -fno-exceptions is used for each C++ compilation as far as I know. Not so sure about RTTI, let's see. --- README.cross | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'README.cross') diff --git a/README.cross b/README.cross index 2acd497c8496..d2a8b140fe4a 100644 --- a/README.cross +++ b/README.cross @@ -322,7 +322,7 @@ Here is an autogen.lastrun for Android, when cross-compiling from Mac OS X: CC_FOR_BUILD=ccache /Xcode3/usr/bin/gcc-4.0 -mmacosx-version-min=10.4 CXX_FOR_BUILD=ccache /Xcode3/usr/bin/g++-4.0 -mmacosx-version-min=10.4 ---with-android-ndk=/Users/tml/android-ndk-r7 +--with-android-ndk=/Users/tml/android-ndk-r7b --with-android-sdk=/Users/tml/android-sdk-macosx --build=x86_64-apple-darwin11 --disable-zenity @@ -338,7 +338,7 @@ And here is an autogen.lastrun for Android when cross-compiling from Linux: CC_FOR_BUILD=ccache gcc CXX_FOR_BUILD=ccache g++ ---with-android-ndk=/home/tml/android-ndk-r7 +--with-android-ndk=/home/tml/android-ndk-r7b --with-android-sdk=/home/tml/android-sdk-linux_x86 --with-ant-home=/opt/apache-ant-1.8.2 --build=x86_64-unknown-linux-gnu -- cgit