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.