source $setup
tar -xf $gcc_src
mv gcc-* gcc
license_gcc=$(cat gcc/COPYING3.LIB)
cd $src
license_runtime=$(cat COPYING.MinGW-w64-runtime/COPYING.MinGW-w64-runtime.txt)
license_winpthread=$(cat mingw-w64-libraries/winpthreads/COPYING)
cat > $out <
The GCC run-time libraries libgcc and libstdc++ are licensed under the GNU General Public License Version 3 (GPLv3) as shown below.
$license_gcc
$license_runtime
libwinpthread also comes from the mingw-w64 project and its license is below.
$license_winpthreadEOF