bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Why CXX defaults to g++ instead of c++


From: Lei Zhang
Subject: Why CXX defaults to g++ instead of c++
Date: Wed, 27 Jul 2016 21:39:40 +0800

Hi,

I'm trying to use clang as the default compiler in my system. Ideally
I'd only need to link cc/c++ to clang, and still keep gcc in case it's
needed.

The problem is, somehow Make defaults CXX to g++ instead of c++, so my
solution doesn't work. While CC already defaults to cc, is there any
specific reason for CXX not to default to c++?


Thanks,
Lei



reply via email to

[Prev in Thread] Current Thread [Next in Thread]