Cygwin
Most of the tools are covered by the GNU GPL, some are public domain, and others have a X11 style copyright.
To cover the GNU GPL requirements, the basic rule is if you give out any binaries, you must also make the source available. For the full details, be sure to read the text of the GNU General Public License (GPL). For more information on the GPL see the GPL FAQ.
The Cygwin™ API library found in the winsup subdirectory of the source code is also covered by the GNU GPL (with exceptions; see below).
By default, all executables link against this library (and in the process include GPL'd Cygwin™ glue code). This means that unless you modify the tools so that compiled executables do not make use of the Cygwin™ library, your compiled programs will also have to be free software distributed under the GPL with source code available to all.
Cygwin™ API Licensing Terms
This is a copy of CYGWIN_LICENSE from the Cygwin™ sources
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License (GPL) as published by the Free Software Foundation version 2 of the License.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*** NOTE *** In accordance with section 10 of the GPL, Red Hat permits programs whose sources are distributed under a license that complies with the Open Source Definition [See http://www.opensource.org/docs/osd/ for the precise Open Source Definition and a list of the licenses certified by OSI as conforming to that definition] to be linked with libcygwin.a/cygwin1.dll without libcygwin.a/cygwin1.dll itself causing the resulting program to be covered by the GNU GPL. This means that you can port an Open Source application to Cygwin™, and distribute that executable as if it didn't include a copy of libcygwin.a/cygwin1.dll linked into it. Note that this does not apply to the Cygwin™ DLL itself. If you distribute the Cygwin™ DLL, either in its original form or in a form modified by you, you must adhere to the terms of the GPL, i.e. you must provide sources for the Cygwin™ DLL unless you have obtained a special Cygwin™ license to distribute the Cygwin™ DLL in only its binary form (see below).
Red Hat sells a special Cygwin™ License for customers who are unable to provide their application in open source code form. For more information, please see: http://www.redhat.com/software/cygwin/, or call +1-866-2REDHAT ext. 45300 (tollfree in the US) Outside the US call your regional Red Hat office.