I'm an avid Python user and it seems that I require MinGW to be installed on my Windows machine to compile some libraries. I'm a little confused about MinGW and GCC. Here's my question (from a real dummy point of view):
我是一个狂热的 Python 用户,似乎我需要在我的 Windows 机器上安装 MinGW 来编译一些库。我对 MinGW 和 GCC 有点困惑。这是我的问题(从真实的虚拟角度来看):
So Python is language which both interpreted and compiled. There are Linux and Windows implementations of Python which one simply installs and used the binary to a execute his code. They come bundled with a bunch of built-in libraries that you can use. It's the same with Ruby from what I've read.
所以Python是一种既能解释又能编译的语言。有 Python 的 Linux 和 Windows 实现,只需安装并使用二进制文件来执行他的代码。它们与您可以使用的一堆内置库捆绑在一起。从我所读到的内容来看,Ruby 也是如此。
Now, I've done a tiny bit a of C and I know that one has a to compile it. It has its built-in libraries which seem to be called header files which you can use. Now, back in the school day's, C, was writing code in a vi-like IDE called Turbo-C and then hitting F9 to compile it. That's pretty much where my C education ends.
现在,我已经做了一点 C 语言,我知道有一个可以编译它。它有其内置库,这些库似乎被称为您可以使用的头文件。现在,回到学生时代,C 是在一个名为 Turbo-C 的类似 vi 的 IDE 中编写代码,然后按 F9 进行编译。我的C教育差不多就到此为止了。
What is MinGW and what is GCC? I've been mainly working on Windows systems and have even recently begun using Cygwin. Aren't they the same?
什么是 MinGW,什么是 GCC?我主要在 Windows 系统上工作,甚至最近开始使用 Cygwin。它们不是一样的吗?
A simple explanation hitting these areas would be helpful.
对这些区域进行简单的解释会有所帮助。
(My apologies if this post sounds silly/stupid. I thought I'd ask here. Ignoring these core bits never made anyone a better programmer.)
(如果这篇文章听起来很傻/愚蠢,我深表歉意。我想我会在这里问。忽略这些核心位永远不会让任何人成为更好的程序员。
Thanks everyone. 谢谢大家。
您是否阅读过 www.mingw.org 上的欢迎页面?它是否回答了您的任何问题,或者提出了新的、更具体的问题?您可能还想阅读一些关于编译器/编译语言如何工作的介绍性信息。
我已经读过了。它没有回答太多。第一句话的意思是nada:“Mingw-w64是原始 mingw.org 项目的改进,旨在支持Windows系统上的GCC编译器。