From ab236e180c63a27c61d84ac9af738cf3cb930224 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Thu, 9 Aug 2012 12:59:08 +0300 Subject: Update sample autogen.lastrun for MacOSX -> Android Change-Id: I5f62540c368540ecf4e1aaedf9829f930f1591fa --- README.cross | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) (limited to 'README.cross') 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: -- cgit