[cfe-dev] Recognize CC and clang-CC?

Joerg Sonnenberger joerg at britannica.bec.de
Thu Nov 7 09:46:50 PST 2013


On Thu, Nov 07, 2013 at 12:27:13PM -0500, Zhihao Yuan wrote:
> The upper case CC is a traditional UNIX naming of
> C++ compiler.  BSDs follow this, and cmake regards
> it as the host C++ compiler as well.

NetBSD doesn't. I'm moderately sure OpenBSD and DragonFly don't either.
Frankly, I don't know what tradition outside FreeBSD you are talking
about -- pretty much everyone has been using "c++" as canonical name for
the C++ compiler for ages.

Joerg



More information about the cfe-dev mailing list