Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Terminology: Is "CL" identical to "the MSVC compiler"

Tags:

visual-c++

cl

I am having a hard time to make out whether the command line tool cl.exe is what people refer to when they are talking about "the MSVC compiler".

Are the two the same thing or do you use cl to control the compiler?

like image 257
mrclng Avatar asked Jan 29 '26 15:01

mrclng


1 Answers

Yes, when people refer to the "MSVC compiler," they mean "cl". "cl" is the tool that controls the Microsoft Visual C and C++ compilers and linker. It invokes other tools.

Also, when people mention "VC17", they are referring to "cl" from "Visual Studio 17 2022".

Similarly, "VC16" refers to "cl" from "Visual Studio 16 2019".

Finally, there is "clang-cl," which is the entry point for the Microsoft-compatible version of the Clang/Clang++ compilers from the LLVM project. This is often refered to as "Microsoft clang".


Abbreviations

  • VC16 - Visual Studio 16 2019
  • VC17 - Visual Studio 17 2022
  • VC18 - Visual Studio 18 2026
like image 56
Jens A. Koch Avatar answered Feb 02 '26 16:02

Jens A. Koch



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!