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

_______________________________________________
Help-make mailing list
Help-make@gnu.org
https://lists.gnu.org/mailman/listinfo/help-make

Reply via email to