win10下gcc的安装和make
https://www.jianshu.com/p/46824c62dfedphp
方案1:直接官方下载安装minGw或Cygwin
installhtml
download: c++
http://sourceforge.net/projects/mingw/files/latest/download?source=files\express
orsass
http://mingw-w64.org/doku.phpfrontend
click to install at C:\minGW\ide
添加路径到环境变量: 右键个人电脑→属性→高级系统设置→环境变量→系统变量
将C:\minGW\bin添加到path中工具
继续安装gcc-c++,gcc-make:打开C:\minGW\bin,双击.exe文件,在打开的图形界面中勾选须要安装的项测试
方案2:下载安装三方的集成库tdm-gcc
http://tdm-gcc.tdragon.netui
推荐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:
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.