diff options
author | Tor Lillqvist <tml@iki.fi> | 2012-02-22 20:41:58 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2012-02-22 22:35:56 +0200 |
commit | 21aec7e5d724042773d9d5ea39f477113ace0c39 (patch) | |
tree | 80b90e623a1f2a5387ebfd8853e6c3f381b519dc /README.cross | |
parent | 59dfa5518097138f1c1864cd3b6d7f5072572e74 (diff) |
Updates for iOS, and Xcode 4.3
Diffstat (limited to 'README.cross')
-rw-r--r-- | README.cross | 34 |
1 files changed, 27 insertions, 7 deletions
diff --git a/README.cross b/README.cross index d2a8b140fe4a..a1edd27cf626 100644 --- a/README.cross +++ b/README.cross @@ -278,21 +278,19 @@ 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-distro=LibreOfficeiOS --with-external-tar=/Volumes/ooo/git/master/src ---with-num-cpus=1 ---with-max-jobs=1 +--with-system-nss --without-help --without-helppack-integration --without-myspell-dicts -And here for the iOS simulator: -CXX=ccache /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/g++ -arch i386 -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk -CC=ccache /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc -arch i386 -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk +And here for the iOS simulator, using Xcode 4.2: +CXX=ccache /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/g++ -arch i386 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk +CC=ccache /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc -arch i386 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk 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-distro=LibreOfficeiOS --with-external-tar=/Volumes/ooo/git/master/src ---with-num-cpus=1 ---with-max-jobs=1 +--with-system-nss --enable-debug --without-help --without-helppack-integration @@ -302,6 +300,28 @@ It seems that with the latest iOS SDK one has to do: sudo ln -s i686-apple-darwin10 /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/usr/include/c++/4.2.1/i686-apple-darwin11 or g++ won't find its headers like <bits/c++config.h> +The --with-system-nss doesn't mean that any Mozilla NSS would be used, +it's just a trick to bypass some tests in the configure script. + +For the iOS simulator, using Xcode 4.3: + +CXX=ccache /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/g++ -arch i386 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk +CC=ccache /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc -arch i386 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk +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 +--enable-werror +--with-distro=LibreOfficeiOS +--with-external-tar=/Users/tml/lo/10.4/src +--with-system-nss +--without-help +--without-helppack-integration +--without-myspell-dicts + +Note that you will have to install autoconf and automake yourself +before running autogen.sh. They are no longer included in Xcode 4.3 +(not even in the add-on "command line tools"). + + Android ------- |