Which compiler really lives behind the names cc, c++, gcc, g++, clang, and clang++? We can check which compiler these really are by getting them to identify their version: $ for compiler in cc c++ gcc g++ clang clang++Īpple clang version 11.0.0 (clang-1100.0.33.17) Those are not obviously clang or clang++, but neither are they obviously gcc and g++. This shows that the names used by make are cc and c++. What is the name of the compiler used by make by default? $ mkdir junk On macOS Catalina (and prior versions, and most likely subsequent versions too), there are two aspects to the problem and some suggested solutions.
0 Comments
Leave a Reply. |