MinGW

来自开放百科 - 灰狐
(版本间的差异)
跳转到: 导航, 搜索
第8行: 第8行:
  
 
http://www.mingw.org/
 
http://www.mingw.org/
 +
 +
touch hello.c
 +
  #include <stdio.h>
 +
 +
int main(void) {
 +
printf ("hello world\n");
 +
return 0;
 +
}
 +
gcc -o hello hello.c // 将创建 hello.exe 文件

2007年2月13日 (二) 18:24的版本

MinGW - Minimalist GNU for Windows

MinGW: import libraries and header files for use with GCC to build native Windows applications; now with added extensions to the MSVC runtime to support C99 functionality.

你可下载 http://switch.dl.sourceforge.net/sourceforge/mingw/MinGW-5.1.3.exe

运行它,它会指导你下载并安装相关组件,完全安装大约需要 146.6M的空间。

http://www.mingw.org/

touch hello.c
 #include <stdio.h>
int main(void) {

printf ("hello world\n"); return 0;

}
gcc -o hello hello.c // 将创建 hello.exe 文件
分享您的观点
个人工具
名字空间

变换
操作
导航
工具箱