Official CVS Repository

'THIS PAGE IS OUT OF DATE.' The code repository for mingwrt and w32api is now housed in the project repository at https://sourceforge.net/p/mingw/mingw-org-wsl/ci/21762bb4a1bd0c88c38eead03f59e8d994349e83/tree/

Where to Find Up-to-Date Source Code for MinGW Packages

In addition to sources maintained directly, and exclusively by ourselves, the MinGW Project makes use of a number of upstream sources, to deliver the package set commonly seen as defining a MinGW installation. This page explains where to find the most up-to-date source code for MinGW packages.


mingwrt and w32api

These two packages are the primary defining components of MinGW; fundamentally, it is this pair of packages which distinguishes MinGW from any other implementation of the GNU Compiler Collection.

Primary responsibility for these two packages is undertaken by the MinGW Project; however, the package code is shared by ourselves and Cygwin, and the official CVS repositories are kindly hosted by Cygwin; they may be browsed at:--

  • mingwrt: for the MinGW C runtime library, (formerly known as mingw-runtime).
  • w32api: for the MS-Windows programming API.

Since these two packages are primarily the responsibility of the MinGW Project, patches should be referred to the MinGW PatchTracker. Anonymous check out of working copies of the source repositories is available, using

export CVSROOT
CVSROOT=:pserver:anoncvs@cygwin.com:/cvs/src
cvs login

(or whatever equivalent sequence of commands is appropriate for your shell), with password anoncvs, then for mingwrt:

cvs -z3 co -d mingwrt src/winsup/mingw

or, for w32api:

cvs -z3 co -d w32api src/winsup/w32api


gcc and binutils

These two package suites sit at the heart of what the majority of users perceive as MinGW. However, although several MinGW Developers may actively participate in the development of these package suites, neither is actively maintained by the MinGW Project. Users wishing to participate in development, or to submit patches in respect of either of these package suites, should consult the respective home sites:--

for details of how to proceed.


other MinGW packages

Of the other packages to be found on the MinGW Download Site, several are simply packaged for the convenience of MinGW users, but are not actively maintained by the project. However, a significant number are either MinGW specific sub-projects, or are forks from other projects for which a separately maintained MinGW specific variant has been deemed appropriate.

For the former group, i.e. those packages with no formal MinGW maintenance activity, the source code is always made available from the MinGW Download Site. This is always the source for the actual version distributed by MinGW, and will often be, sometimes significantly, out of date with respect to the current version distributed by the owner project. Users seeking more up to date versions of such packages should refer to the home sites of the respective owner projects, for availability. The MinGW Project is not interested in patches for such packages, but may be interested in a complete distribution of an updated version.

Conversely, for the latter group, i.e. those packages which are MinGW (or MSYS) specific, the MinGW Project does maintain a local CVS repository. Anonymous check out of source code, from this repository, is available using

export CVSROOT
CVSROOT=:pserver:anonymous@mingw.cvs.sourceforge.net:/cvsroot/mingw
cvs login
cvs -z3 co <modulename>

(there is no password for anonymous login here; simply hit <ENTER> when prompted).

Note that, when accessing this MinGW specific CVS repository, you should replace <modulename> by the actual name of the source code module in which you are interested. The following modules are available:--

  • MinGW: an NSIS based installer for MinGW.
  • catgets: a GPL implementation of a POSIX conforming i18n API, for use with MinGW.
  • man: an MS-Windows port of the UNIX `man' program; it is a native port, but may be found most useful when used with MSYS.
  • mingw-get: a prototype for the new "synaptic-like" MinGW package installer; the code base is currently in an embryonic state, and the maintainer is not yet accepting patches; however, comments on features are welcomed.
  • msys: the sources for MSYS, together with the specialised development tools required to develop and maintain it.
  • portmaker: the development kit used for creating mingwPORTs.
  • regex: An LGPL port of a POSIX Regular Expression parsing library, providing appropriate Systems Interface functions, as specified by POSIX, for use with MinGW.
  • utils: miscellaneous utility programs, for use with MinGW.
  • xscripts: the officially supported build scripts, for creating a GNU/Linux hosted cross-mingw32 GCC compiler suite.

N.B. Other modules may be observed at the CVSROOT. In general, these should be considered deprecated and unmaintained. In particular, the runtime and w32api modules should not be used; they have been long ago obsoleted by the mingwrt and w32api repositories, hosted by Cygwin.

Site Status

Site maintenance completed May 25th, 2012 at 12:38 UTC