on 2013 Nov 18 1:44 PM
With the removal of the GCC toolset from XCode 5, how are we supposed to build the iOS ultralite library as per the instructions? I added the command line tools to XCode 5, but Apple completely discontinued GCC with XCode.
There is a fix in progress for this. (As well as adding 64-bit support.) Clang will be used to compile the library.
As a workaround in the meantime, you can build the library against Xcode 4 and use it with Xcode 5.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
According to that older CR note, Xcode 5 support has been available for some time (including 64-bit support for 12.0.1 though the note does tell otherwise). AFAIK, supporting XCode 5 requires Clang support.
UltraLite now supports Xcode 5 and iOS 7. Version 16 includes 64-bit libraries for the new A7 (arm64) chip along with the 64-bit simulator.
Indeed, the latest SPs for v12 and v16 support Xcode 6/iOS 8 and all chips, including 64-bit.
The build script (build.sh) invokes make to build, and the makefile invokes the compiler as: xcrun -sdk iphoneos gcc
That is, we don't try to find the compiler path ourselves...
You can see this in build.log, which is written beside build.sh. (build.sh just redirects the make output here.) (It's true we invoke 'gcc', but this is really just clang now.)
User | Count |
---|---|
71 | |
11 | |
10 | |
10 | |
10 | |
8 | |
7 | |
7 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.