OSDN Git Service

* config/i386/profile.h: Sync with Mingw.
[pf3gnuchains/sourceware.git] / winsup / CYGWIN_LICENSE
1 Red Hat, Inc. licenses Cygwin to you under the terms of the GNU
2 General Public License version 2 (GPLv2), as published by the Free
3 Software Foundation, along with the additional permissions given
4 below.
5
6 There is NO WARRANTY for this software, express or implied, including
7 the implied warranties of MERCHANTABILITY or FITNESS FOR A PARTICULAR
8 PURPOSE. 
9
10 You should have received a copy of GPLv2 along with this program; if
11 not, see http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt .
12
13
14 Additional Permissions:
15
16
17 1. Linking Exception.
18
19 As a special exception to GPLv2, Red Hat grants you permission to link
20 software whose sources are distributed under a license that satisfies
21 the Open Source Definition with libcygwin.a, without libcygwin.a
22 itself causing the resulting program to be covered by GPLv2.
23
24 This means that you can port an open source application to Cygwin, and
25 distribute that executable as if it didn't include a copy of
26 libcygwin.a linked into it.  Note that this does not apply to the
27 Cygwin DLL itself.  If you distribute a (possibly modified) version of
28 the DLL you must adhere to the terms of GPLv2, including the
29 requirement to provide sources for the Cygwin DLL.
30
31 See http://www.opensource.org/docs/osd/ for the precise Open Source
32 Definition referenced above.
33
34
35 2.  Files Excluded from GPL Coverage.
36
37 Red Hat grants you permission to distribute Cygwin with the following
38 files, which are not considered part of Cygwin and are not governed by
39 GPLv2, in source or binary form.
40
41 winsup\testsuite\winsup.api\msgtest.c
42 winsup\testsuite\winsup.api\semtest.c
43 winsup\testsuite\winsup.api\shmtest.c
44
45 Red Hat grants you permission to link or combine code in Cygwin with
46 code in or corresponding to the following files, which are not
47 considered part of Cygwin and are not governed by GPLv2, and to
48 distribute such combinations under terms of your choice, provided that
49 such terms are otherwise consistent with the application of GPLv2 to
50 Cygwin itself.  You must comply with GPLv2 with respect to all
51 portions of such combinations other than those that correspond to or
52 are derived from such non-Cygwin code but which do not correspond to
53 or are not derived from Cygwin itself.
54
55 winsup\cygserver\sysv_shm.cc
56
57
58 3.  Alternative License. 
59
60 Red Hat sells a special Cygwin License for customers who are unable to
61 provide their application in open source code form.  For more
62 information, please see: http://www.redhat.com/software/cygwin/, or call
63 +1-866-2REDHAT ext. 45300 (toll-free in the US).
64
65 Outside the US call your regional Red Hat office, see
66 http://www.redhat.com/about/contact/ww/