[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: |
Tue, 26 Jul 2016 11:39:08 +0800 |
Hi,
I'm trying to replace gcc with clang as the default compiler in my
system. Ideally I just link cc/c++ to clang, and gcc can still be kept
in case it's needed.
However, somehow `make` defaults CC to cc, but CXX to g++ instead of
c++, so my solution doesn't work with C++ files. I'm curious why not
default CXX to c++? Will there be any problem if I patch `make` to do
so?
(please CC me when replying, as I'm not subscribed to this list)
Regards,
Lei
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Why CXX defaults to g++ instead of c++?,
Lei Zhang <=