Page "XcodeVersionInfo" was changed by ryandesign@macports.org Diff URL: <https://trac.macports.org/wiki/XcodeVersionInfo?action=diff&version=36> Revision 36 Comment: update info-gathering script to hopefully handle all compilers of all relevant versions of Xcode Changes: -------8<------8<------8<------8<------8<------8<------8<------8<-------- Index: XcodeVersionInfo ========================================================================= --- XcodeVersionInfo (version: 35) +++ XcodeVersionInfo (version: 36) @@ -9,7 +9,7 @@ {{{ #!sh -echo -e "=== $(/usr/bin/xcodebuild -version |head -n1) ===\n * '''Xcode''': $(/usr/bin/xcodebuild -version |tail -1)\n * '''llvm-gcc''': $(/usr/bin/llvm-gcc --version |head -1)\n * '''clang''': $(/usr/bin/clang --version |head -n1)" |tee /dev/tty |pbcopy +echo -e "=== $(/usr/bin/xcodebuild -version |head -n1) ===\n * '''Xcode''': $(/usr/bin/xcodebuild -version |tail -1)\n$(test -x /usr/bin/gcc-3.3 && echo " * '''gcc-3.3''': $(/usr/bin/gcc-3.3 --version 2>/dev/null |head -1)\n")$(test -x /usr/bin/gcc-4.0 && echo " * '''gcc-4.0''': $(/usr/bin/gcc-4.0 --version 2>/dev/null |head -1)\n")$(test -x /usr/bin/gcc-4.2 && echo " * '''gcc-4.2''': $(/usr/bin/gcc-4.2 --version 2>/dev/null |head -1)\n")$((test -x /usr/bin/llvm-gcc-4.2 || test -x /Developer/usr/bin/llvm-gcc-4.2) && echo " * '''llvm-gcc''': $((/usr/bin/llvm-gcc --version 2>/dev/null || /Developer/usr/bin/llvm-gcc --version 2>/dev/null) |head -1)\n")$((test -x /usr/bin/clang || test -x /Developer/usr/bin/clang) && echo " * '''clang''': $((test -x /usr/bin/clang && /usr/bin/clang --version 2>&1 || /Developer/usr/bin/clang --version 2>&1) |head -1)")" |tee /dev/tty |pbcopy }}} The toolchain version of the Xcode releases are also [https://en.wikipedia.org/wiki/Xcode#Toolchain_Versions documented on Wikipedia]. -------8<------8<------8<------8<------8<------8<------8<------8<-------- -- Page URL: <https://trac.macports.org/wiki/XcodeVersionInfo> MacPorts <http://www.macports.org/> Ports system for OS X This is an automated message. Someone added your email address to be notified of changes on 'XcodeVersionInfo' page. If it was not you, please report to .