[SR-6082] Produce a better error message if Swift is run on a system without clang++ #48637
Labels
compiler
The Swift compiler itself
good first issue
Good for newcomers
improvement
legacy driver
Area → compiler: the integrated C++ legacy driver. Succeeded by the swift-driver project
Linux
Platform: Linux
Additional Detail from JIRA
md5: 0ed0a272c70aa068a13e89f859372a45
relates to:
clang++
cannot be invokedIssue Description:
Swift on Linux (and other non-Apple platforms) calls
clang++
to perform linking; if it's not found, we used to get this lousy error message:We should do better. (It's possible we already do do better; I just don't have access to a Linux system without clang++ installed at the moment. If you have such a system, you can help out with this bug by downloading Swift from https://swift.org/download/ and seeing what
echo 'print("hello")' | swiftc -
produces.)The text was updated successfully, but these errors were encountered: