http://en.wikipedia.org/wiki/Xcode#Composition says that clang started at xcode 4.2, for which the version numbering is decoupled from the darwin version. There are two tables at the bottom that only sort of tell the whole story...
http://en.wikipedia.org/wiki/Xcode#Versions_compare_table e.g. on 10.9, I started with XCode 4.6 Thread model: posix, but currently have: uname -r 13.1.0 xcodebuild -version Xcode 5.1 Build version 5B130a gcc --version Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1 Apple LLVM version 5.1 (clang-503.0.38) (based on LLVM 3.4svn) Target: x86_64-apple-darwin13.1.0 Thread model: posix clang --version Apple LLVM version 5.1 (clang-503.0.38) (based on LLVM 3.4svn) Target: x86_64-apple-darwin13.1.0 On Sun, Apr 20, 2014 at 2:39 AM, Even Rouault <even.roua...@mines-paris.org>wrote: > > Well, you could try leaving out the os.uname test. clang is clang no > matter > > what version of OS X, and it wouldn't hurt to include the option when > it's > > already default. Also, testing the OS version doesn't necessarily say > what > > clang version is installed. > > Could you try leaving out test os.uname test ? It is inspired from the > link I > found where they say that clang began the default compiler with Darwin >= > 11. > Ideally we shouldn't break building for folks using GCC. > > > > > > > ----- > > William Kyngesburye <kyngchaos*at*kyngchaos*dot*com> > > http://www.kyngchaos.com/ > > > > First Pogril: Why is life like sticking your head in a bucket filled with > > hyena offal? > > Second Pogril: I don't know. Why IS life like sticking your head in a > bucket > > filled with hyena offal? > > First Pogril: I don't know either. Wretched, isn't it? > > > > -HitchHiker's Guide to the Galaxy > > > > > > > > > _______________________________________________ > gdal-dev mailing list > gdal-dev@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/gdal-dev > -- -- http://schwehr.org
_______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev