我可以下载Visual C ++命令行编译器没有Visual Studio吗? [英] Can I download the Visual C++ Command Line Compiler without Visual Studio?

查看:146
本文介绍了我可以下载Visual C ++命令行编译器没有Visual Studio吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

按标题。我不想下载整个Visual C ++安装程序,只有cl.exe和Windows上编译和链接C ++程序所需的其他程序。

As per the title. I don't want to download the entire Visual C++ installer, only "cl.exe" and the other programs required for compiling and linking C++ programs on Windows.

推荐答案

在2014年,你无法从Microsoft下载Visual C ++编译器。

In 2014 you could not download the Visual C++ compiler alone from Microsoft.

以前是可以的。然后它以前是,你可以得到它在平台SDK。

It used to be that you could. Then it used to be that you could get it in the Platform SDK. Then you could only get it by installing Visual Studio.

很高兴,那时候,Visual Studio Express for Desktop捆绑的编译器(免费版本的Visual Studio

Happily, at that time, the compiler that was bundled with Visual Studio Express for Desktop (the free version of Visual Studio at the time) was, and is, the very same that you get with Professional or Universal editions.

2015年11月,Microsoft再次开始提供免费的编译工具,包括称为 Visual C ++ Build Tools

In November 2015 Microsoft again started providing the compiler tools in a free-standing package called the Visual C++ Build Tools.

Microsoft写道:

Microsoft writes:


< / strong> C ++ Build Tools安装程序将不会在已安装Visual Studio 2015的计算机上运行。支持反向(即升级到Visual Studio)。

the C++ Build Tools installer will not run on a machine with Visual Studio 2015 already installed on it. The reverse (i.e. upgrade to Visual Studio) is supported.

长期情况一如既往地不清楚。和,免责声明:我没有使用自己的构建工具–我必须先卸载Visual Studio。

The long term situation is, as always, unclear. And, disclaimer: I have not used the build tools myself – I would have to uninstall Visual Studio first.

这篇关于我可以下载Visual C ++命令行编译器没有Visual Studio吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆