File: gcc-mingw-w64-base.README.Debian

package info (click to toggle)
gcc-mingw-w64 19.3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 324 kB
  • ctags: 67
  • sloc: makefile: 284; sh: 148; sed: 66
file content (37 lines) | stat: -rw-r--r-- 1,571 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
gcc-mingw-w64 for Debian
------------------------

This package provides the standard Debian gcc, built to target Windows
using MinGW-w64: the resulting executables and DLLs won't require any
runtime DLL beyond those you'd expect (any library explicitly used,
and potentially libgcc and/or libstdc++).

gcc is configured as follows:
* static and shared builds are supported;
* multilib is not supported (use explicit 32- or 64-bit targets
  instead);
* exceptions use setjump/longjump ("SJLJ exceptions") on 32-bit
  Windows, structured exception handling (SEH) on 64-bit Windows;
* LTO is supported;
* GOMP is enabled;
* language front-ends are built for C, C++, Fortran, Ada, Objective-C
  and Objective-C++.

Both Windows and POSIX threading models are supported; the default
model is Windows, but it can be changed using alternatives. The
threading model can also be selected explicitly by specifying the
appropriate compiler; for example, i686-w64-mingw32-gcc-posix for
POSIX-threaded 32-bit C code, x86_64-w64-mingw32-g++-win32 for
Windows-threaded 64-bit C++ code.

The POSIX threading model enables support for C++11 threads and GOMP,
but produces binaries which need the libwinpthread-1.dll at runtime.
The Windows threading doesn't support C++11 threads currently but
produces binaries with no requirement for the pthreads DLL.

To use this package to build Windows software, simply use the
appropriate target:
* i686-w64-mingw32 for 32-bit Windows;
* x86_64-w64-mingw32 for 64-bit Windows.

 -- Stephen Kitt <skitt@debian.org>, Wed, 17 Jun 2015 23:10:53 +0200