Windows 10 下 GCC / LLVM 的安装和使用

win10下gcc的安装和make
https://www.jianshu.com/p/46824c62dfed


方案1:直接官方下载安装minGw或Cygwin
install

download:

http://sourceforge.net/projects/mingw/files/latest/download?source=files\

or

http://mingw-w64.org/doku.php


click to install at C:\minGW\

添加路径到环境变量: 右键我的电脑→属性→高级系统设置→环境变量→系统变量
将C:\minGW\bin添加到path中

继续安装gcc-c++,gcc-make:打开C:\minGW\bin,双击.exe文件,在打开的图形界面中勾选需要安装的项

 

方案2:下载安装三方的集成库tdm-gcc
http://tdm-gcc.tdragon.net

推荐win下好用的C/C++ IDE集成环境CodeBlocks:
http://forums.codeblocks.org/index.php/board,20.0.html

 

方案3:下载安装三方的集成库llvm --- 还没用过,具体有待测试,不过基本的工具都有(lldb, clang, ar...)

http://releases.llvm.org/download.html

 

cmake download:

https://cmake.org/download/


 llvm

http://llvm.org/

简介:
The LLVM Project is a collection of modular and reusable compiler and toolchain technologies. Despite its name, LLVM has little to do with traditional virtual machines. The name "LLVM" itself is not an acronym; it is the full name of the project.

clang
http://clang.llvm.org/

简介:
Clang: a C language family frontend for LLVM
The Clang project provides a language front-end and tooling infrastructure for languages in the C language family (C, C++, Objective C/C++, OpenCL, CUDA, and RenderScript) for the LLVM project. Both a GCC-compatible compiler driver (clang) and an MSVC-compatible compiler driver (clang-cl.exe) are provided. You can get and build the source today.

LLDB
http://lldb.llvm.org/

简介:
LLDB is a next generation, high-performance debugger. It is built as a set of reusable components which highly leverage existing libraries in the larger LLVM Project, such as the Clang expression parser and LLVM disassembler.

LLDB is the default debugger in Xcode on macOS and supports debugging C, Objective-C and C++ on the desktop and iOS devices and simulator.

 

转载于:https://www.cnblogs.com/bluestorm/p/10837564.html

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值