Windows的C / C ++编译器 [英] C/C++ Compiler for windows
问题描述
我试图将一个Linux应用程序移植到Windows。没有什么大的,只是一个小的命令行实用程序。但是,最后一次我在Windows中使用C,它是Visual Studio 6中的一个hello world应用程序。
I'm trying to port a Linux app to windows. Nothing huge, just a small command line utility. However, the last time I worked with C in Windows, it was a 'hello world' app in Visual Studio 6.
我试图避免遇到一个新的IDE ,所以我想使用Netbeans的C / C ++插件。我只需要一个编译器。
I'm trying to avoid meeting a new IDE, so I'd like to use Netbeans' C/C++ plugin. I just need a compiler.
任何人都可以建议一个免费的32位编译器,不附带IDE?
Can anyone suggest a free 32-bit compiler that doesn't come with an IDE attached?
推荐答案
查看 MinGW编译器工具。它们是免费的,让您在Windows上使用GCC。从网站:
Check out the MinGW compiler tools. They're free and let you use GCC natively on Windows. From the website:
MinGW提供了一个完整的开源编程工具集,适用于本地Windows程序的
开发不依赖于任何第三方C运行时
DLL。
MinGW provides a complete Open Source programming tool set which is suitable for the development of native Windows programs that do not depend on any 3rd-party C runtime DLLs.
mingw的优点是,从另一个系统交叉编译工作的Windows二进制文件例如Linux,Mac OS X等。
What's so cool about mingw is that you can quite easily cross-compile working Windows binaries from another system — e.g. Linux, Mac OS X etc.
这篇关于Windows的C / C ++编译器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!