building gdb with newer clangs on 10.7 and Xcode <4.4

Ryan Carsten Schmidt ryandesign at macports.org
Wed Dec 25 17:45:11 UTC 2024


On Dec 25, 2024, at 11:40, Gagan Sidhu wrote:
> 
> it’s the scripts or macro check for xcrun are causing a problem:
>> 
>> vms-Mac-2:MacOS vm$ cat /opt/local/bin/clang++-mp-17
>> #!/bin/bash
>> 
>> if [ -x /usr/bin/xcrun ] ; then
>>    exec /usr/bin/xcrun /opt/local/libexec/llvm-17/bin/clang++ "${@}"
>> else
>>    exec /opt/local/libexec/llvm-17/bin/clang++ "${@}"
>> fi

Oh. I didn't know our clang was a wrapper script that did this. 




More information about the macports-dev mailing list