如何在cygwin上安装gcc-4.4? [英] How to install gcc-4.4 on cygwin?
问题描述
我已经在Windows上安装了 cygwin 环境. 有gcc 4.3.如何在此环境中安装gcc 4.4?
I've installed cygwin environment on Windows. There is gcc 4.3. How to install gcc 4.4 in this environment?
推荐答案
另一种方法是自己构建,但是在cygwin上这将非常慢.如果您是Linux用户,则可以在Linux上构建一个 native 编译器(在Windows上的cmd.exe中运行,并生成本机win32二进制文件).它要快得多(以我的经验快几个数量级).
The alternative is to build one yourself, but it will be extremely slow on cygwin. If you are a Linux user, you can build a native compiler (which runs in cmd.exe on windows, and produces native win32 binaries) on Linux. It is much faster (order of magnitude faster in my experience).
否则,mingw是一个很好的解决方案,尽管根据我的经验,来自 equation.com在gcc 4.4上工作得更好(MinGW尚无官方的gcc 4.4)
Otherwise, mingw is a good solution, although in my experience, the binary from equation.com work better for gcc 4.4 (there is no official gcc 4.4 from MinGW yet)
这篇关于如何在cygwin上安装gcc-4.4?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!