The wrappers with the clang-3.9 port  that look like

#!/bin/bash

if [ -x /usr/bin/xcrun ] ; then
    exec /usr/bin/xcrun /opt/local/libexec/llvm-3.9/bin/clang "${@}"
else
    exec /opt/local/libexec/llvm-3.9/bin/clang "${@}"
fi


have a problem on Snow Leopard:

myeye:tmp root# clang-mp-3.9 hello.c -o hello
xcodebuild: error: invalid tool name - '/opt/local/libexec/llvm-3.9/bin/clang' 
contains '/' characters
/Developer-3.2.6/usr/bin/xcodebuild fails with 256 - Unknown error: 256


I gather that in the past, they didn't attempt to use xcrun, which at the very 
least, for the particular version of Xcode in use, doesn't seem to appreciate 
full pathnames.

myeye:tmp root# xcode-select -print-path
/Developer-3.2.6

Attachment: signature.asc
Description: Message signed with OpenPGP

Reply via email to