ubuntu +eclipse cdt+clang compile proplems

当build是出现Error: Program “llvm-ld” is not found in PATH

就把项目属性 > C/C++ Build > Settings 选择 LLVM C++ Linker,将里面的llvm命令替换成clang。

 Does not yet work with LLVM 3.2. Works with older versions. This is, because llvm-ld (linker) tool was removed from 3.2.


你可能感兴趣的:(ubuntu +eclipse cdt+clang compile proplems)