Modify iOS device example to use Clang
This commit is contained in:
parent
084a54e87b
commit
c57f1a0dfd
1 changed files with 5 additions and 6 deletions
11
README.cross
11
README.cross
|
@ -271,9 +271,9 @@ thought yet.
|
|||
The Apple tool-chain for iOS cross-building is available only for
|
||||
Mac OS X.
|
||||
|
||||
Here is an autogen.lastrun for iOS (device):
|
||||
CXX=ccache /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/g++ -arch armv7 -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk
|
||||
CC=ccache /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc -arch armv7 -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk
|
||||
Here is an autogen.lastrun for iOS (device) using Xcode 4.3 and clang:
|
||||
CXX=ccache /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk
|
||||
CC=ccache /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.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
|
||||
|
@ -283,7 +283,7 @@ CXX_FOR_BUILD=ccache /Xcode3/usr/bin/g++-4.0 -mmacosx-version-min=10.4
|
|||
--without-helppack-integration
|
||||
--without-myspell-dicts
|
||||
|
||||
And here for the iOS simulator, using Xcode 4.2:
|
||||
And here for the iOS simulator, using Xcode 4.2 and gcc:
|
||||
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
|
||||
|
@ -303,8 +303,7 @@ 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:
|
||||
|
||||
For the iOS simulator, using Xcode 4.3 and gcc (should switch to clang here, too):
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue