安装llvm、clang指定使用非默认gcc、g++
安装LLVM、clang时不使用系统默认的gcc、g++版本: 官方手册安装文档: We use here the command-line, non-interactive CMake interface. Downloadand install CMake. Version 3.4.3 is the minimum required. Open a shell. Your development tools must be reachable from this shell through the PATH environment variable. Create a build directory. Building LLVM in the source directory is not supported. cd to this directory: $ mkdir mybuilddir $ cd mybuilddir Execute this command in the shell replacingpath/to/llvm/source/rootwith the path...