zoukankan      html  css  js  c++  java
  • Windows上的GCC:MinGW介绍

    A collection of freely available and freely distributable Windows specific header files and import libraries combined with GNU toolsets that allow one to produce native Windows programs that do not rely on any 3rd-party C runtime DLLs.

    MinGW全名Minimalist GNU for Windows,是一套用于Windows平台的GNU 工具集,实现了GNU的基本功能,并使编译后的程序无需第三方运行时库(DLL)便可在Windows系统上运行。

    What is MinGW?

    MinGW ("Minimalistic GNU for Windows") refers to a set of runtime headers, used in building a compiler system based on the GNU GCC and binutils projects. It compiles and links code to be run on Win32 platforms... providing C, C++ and Fortran compilers plus other related tools. If you see references to "mingw32" instead of "MinGW", they are referring to the same compiler system. The project's name changed from mingw32 to MinGW is to prevent the implication that MinGW will only works on 32 bit systems (as 64 and higher bit machines become more common, MinGW will evolve to work with them). MinGW uses the Microsoft runtime libraries, distributed with the Windows operating system. Unlike other ports of GCC to Windows, the runtime libraries are not distributed using Gnu's General Public License (GPL). You, therefore, do not have to distribute your source code with your programs unless, of course, you use a GPL library in your programs.
                               
    ——摘自MinGW官方主页
                                          http://www.mingw.org/

     以下是用我蹩脚的英语翻译的,如有不妥,请留言:

           MinGW涉及一整套的运行时头文件,用于建立一个基于GNU GCC的编译系统并生成程序。MinGW编译、连接运行在Win32平台上的代码,提供CC++Fortran编译器及相关工具。有些时候用“mingw32代替“MinGW”,但都表示同一编译系统。将“mingw32改为“MinGW”是为了防止产生关于MinGW只能在32windows上工作的误解(随着64及更高位的计算机的普及,MinGW将随之发展以便能在这些机器上使用)。MinGW使用Microsoft的运行时库,在windows操作系统上分发。不同于其他GCCWindows的接口,运行时库不会被GPL GNU通用公共协议证书)分发。甚至你也不必公开你的程序源代码(注:了解《GNU通用公共协议证书》可知,使用了该证书的程序在分发时会将源代码一起分发,以体现“自由软件”精神),当然,除非你使用了GPL库。

    MinGW各版本下载地址:
    http://www.mingw.org/download.shtml   官方下载。
    http://www.programarts.com/download/MinGW-3.0.0-1.exe 可直接在Windows下运行安装的版本

    有各种使用心得,欢迎与我联系,共同交流。
    //---------------------------------------------------
    //用得开心你就拍拍手,然后大喊一声:“爽!”

  • 相关阅读:
    每周总结03
    Servlet2
    每周总结02
    周总结4
    河北省重大需求征集系统每日进度6
    周总结3
    hadoop命令
    复习uml
    周总结2
    河北省重大需求征集系统每日进度5
  • 原文地址:https://www.cnblogs.com/wqlblogger/p/365757.html
Copyright © 2011-2022 走看看