summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.cross21
1 files changed, 14 insertions, 7 deletions
diff --git a/README.cross b/README.cross
index c946541ad15f..3856c2959b35 100644
--- a/README.cross
+++ b/README.cross
@@ -339,18 +339,25 @@ particular) and Mac OS X. The Android cross-buld tool-chain (the
X. Sure, for Windows, too, but trying to cross-compile LO from Windows
will probably drive you insane.
-Here is an autogen.lastrun for Android, when cross-compiling from Mac OS X:
+Here is an autogen.lastrun for Android, when cross-compiling from Mac
+OS X 10.8 with Xcode 4.4.1:
-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-r7b
---with-android-sdk=/Users/tml/android-sdk-macosx
+CC_FOR_BUILD=xcrun clang -arch i386
+CXX_FOR_BUILD=xcrun clang++ -arch i386
--build=x86_64-apple-darwin11
+--disable-python
--disable-zenity
+--enable-debug
--enable-werror
---disable-python
+--with-android-ndk=/Users/tml/android-ndk-r8b
+--with-android-ndk-toolchain-version=4.6
+--with-android-sdk=/Users/tml/android-sdk-macosx
+--with-build-platform-configure-options=--with-macosx-sdk=10.8 --with-macosx-version-min-required=10.8 --with-macosx-version-max-allowed=10.8
--with-distro=LibreOfficeAndroid
---with-java
+--with-external-tar=/Users/tml/lo/10.4/src
+--without-doxygen
+--without-helppack-integration
+--without-myspell-dicts
And here is an autogen.lastrun for Android when cross-compiling from Linux: