Clang-Cl Tries To Imitate Visual Studio's Compiler

Written by Michael Larabel in LLVM on 5 November 2013 at 11:51 AM EST. 11 Comments
LLVM
Clang-Cl is one of the new driver modes to the Clang C/C++ front-end compiler to LLVM and its designed to imitate Visual Studio's cl.exe compiler.

The clang-cl driver command ends up accepting the same arguments as Visual Studio's compiler. With accepting the same compiler options/format as Visual Studio, it's easier for developers to migrate existing Visual Studio code-bases to using LLVM/Clang instead as you don't need to rewrite your compiler options.

The clang-cl driver has also added a "/fallback" option too for being able to fallback to calling Microsoft's cl.exe compiler when Clang is unable to compile a given code-base.

More details on clang-cl can be found from the LLVM blog post that was written this morning and this feature can be found in the forthcoming release of LLVM 3.4.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week