gcc-mingw-w64-12/0000755000000000000000000000000012262356574010471 5ustar gcc-mingw-w64-12/debian/0000755000000000000000000000000012262356573011712 5ustar gcc-mingw-w64-12/debian/control0000644000000000000000000002452312262356573013323 0ustar # This file is generated using debian/rules control, do not edit Source: gcc-mingw-w64 Section: devel Priority: extra Maintainer: Stephen Kitt Build-Depends: autotools-dev, binutils-mingw-w64 (>= 2.21.51.20110523), debhelper (>= 7.0.50~), g++-4.8, gcc-4.8-source, libcloog-isl-dev, libelf-dev, libgmp-dev, libmpc-dev (>= 0.8.0), libmpfr-dev (>= 2.3.2), mingw-w64-i686-dev (>= 3.0~svn5915), mingw-w64-x86-64-dev (>= 3.0~svn5915), xz-utils, zlib1g-dev Standards-Version: 3.9.5 Homepage: http://www.gnu.org/software/gcc/ Vcs-Git: git://anonscm.debian.org/collab-maint/gcc-mingw-w64.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/gcc-mingw-w64.git;a=summary Package: gcc-mingw-w64 Architecture: all Depends: gcc-mingw-w64-i686, gcc-mingw-w64-x86-64, ${misc:Depends} Recommends: g++-mingw-w64, gfortran-mingw-w64, gnat-mingw-w64 Built-Using: gcc-4.8 (= ${gcc:Version}) Description: GNU C compiler for MinGW-w64 MinGW-w64 provides a development and runtime environment for 32- and 64-bit (x86 and x64) Windows applications using the Windows API and the GNU Compiler Collection (gcc). . This metapackage provides the C compiler, supporting cross-compiling to 32- and 64-bit MinGW-w64 targets. Package: gcc-mingw-w64-i686 Architecture: any Depends: binutils-mingw-w64-i686, mingw-w64-i686-dev, gcc-mingw-w64-base (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends} Built-Using: gcc-4.8 (= ${gcc:Version}) Conflicts: gcc-mingw-w64-bootstrap Breaks: gcc-mingw-w64 (<< ${split:Version}) Replaces: gcc-mingw-w64 (<< ${split:Version}), gcc-mingw-w64-bootstrap Suggests: gcc-4.8-locales (>= ${local:Version}) Description: GNU C compiler for MinGW-w64 targeting Win32 MinGW-w64 provides a development and runtime environment for 32- and 64-bit (x86 and x64) Windows applications using the Windows API and the GNU Compiler Collection (gcc). . This package contains the C compiler, supporting cross-compiling to 32-bit MinGW-w64 targets. Package: gcc-mingw-w64-x86-64 Architecture: any Depends: binutils-mingw-w64-x86-64, mingw-w64-x86-64-dev, gcc-mingw-w64-base (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends} Built-Using: gcc-4.8 (= ${gcc:Version}) Conflicts: gcc-mingw-w64-bootstrap Breaks: gcc-mingw-w64 (<< ${split:Version}) Replaces: gcc-mingw-w64 (<< ${split:Version}), gcc-mingw-w64-bootstrap Suggests: gcc-4.8-locales (>= ${local:Version}) Description: GNU C compiler for MinGW-w64 targeting Win64 MinGW-w64 provides a development and runtime environment for 32- and 64-bit (x86 and x64) Windows applications using the Windows API and the GNU Compiler Collection (gcc). . This package contains the C compiler, supporting cross-compiling to 64-bit MinGW-w64 targets. Package: g++-mingw-w64 Architecture: all Depends: g++-mingw-w64-i686, g++-mingw-w64-x86-64, ${misc:Depends} Built-Using: gcc-4.8 (= ${gcc:Version}) Description: GNU C++ compiler for MinGW-w64 MinGW-w64 provides a development and runtime environment for 32- and 64-bit (x86 and x64) Windows applications using the Windows API and the GNU Compiler Collection (gcc). . This metapackage provides the C++ compiler, supporting cross-compiling to 32- and 64-bit MinGW-w64 targets. Package: g++-mingw-w64-i686 Architecture: any Depends: gcc-mingw-w64-i686 (= ${binary:Version}), libstdc++-4.8-dev (>= ${local:Version}), ${misc:Depends}, ${shlibs:Depends} Built-Using: gcc-4.8 (= ${gcc:Version}) Breaks: gcc-mingw-w64 (<< ${split:Version}) Replaces: gcc-mingw-w64 (<< ${split:Version}) Suggests: gcc-4.8-locales (>= ${local:Version}) Description: GNU C++ compiler for MinGW-w64 targeting Win32 MinGW-w64 provides a development and runtime environment for 32- and 64-bit (x86 and x64) Windows applications using the Windows API and the GNU Compiler Collection (gcc). . This package contains the C++ compiler, supporting cross-compiling to 32-bit MinGW-w64 targets. Package: g++-mingw-w64-x86-64 Architecture: any Depends: gcc-mingw-w64-x86-64 (= ${binary:Version}), libstdc++-4.8-dev (>= ${local:Version}), ${misc:Depends}, ${shlibs:Depends} Built-Using: gcc-4.8 (= ${gcc:Version}) Breaks: gcc-mingw-w64 (<< ${split:Version}) Replaces: gcc-mingw-w64 (<< ${split:Version}) Suggests: gcc-4.8-locales (>= ${local:Version}) Description: GNU C++ compiler for MinGW-w64 targeting Win64 MinGW-w64 provides a development and runtime environment for 32- and 64-bit (x86 and x64) Windows applications using the Windows API and the GNU Compiler Collection (gcc). . This package contains the C++ compiler, supporting cross-compiling to 64-bit MinGW-w64 targets. Package: gfortran-mingw-w64 Architecture: all Depends: gfortran-mingw-w64-i686, gfortran-mingw-w64-x86-64, ${misc:Depends} Built-Using: gcc-4.8 (= ${gcc:Version}) Description: GNU Fortran compiler for MinGW-w64 MinGW-w64 provides a development and runtime environment for 32- and 64-bit (x86 and x64) Windows applications using the Windows API and the GNU Compiler Collection (gcc). . This metapackage provides the Fortran compiler, supporting cross-compiling to 32- and 64-bit MinGW-w64 targets. Package: gfortran-mingw-w64-i686 Architecture: any Depends: gcc-mingw-w64-i686 (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends} Built-Using: gcc-4.8 (= ${gcc:Version}) Breaks: gcc-mingw-w64 (<< ${split:Version}) Replaces: gcc-mingw-w64 (<< ${split:Version}) Suggests: gcc-4.8-locales (>= ${local:Version}) Description: GNU Fortran compiler for MinGW-w64 targeting Win32 MinGW-w64 provides a development and runtime environment for 32- and 64-bit (x86 and x64) Windows applications using the Windows API and the GNU Compiler Collection (gcc). . This package contains the Fortran compiler, supporting cross-compiling to 32-bit MinGW-w64 targets. Package: gfortran-mingw-w64-x86-64 Architecture: any Depends: gcc-mingw-w64-x86-64 (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends} Built-Using: gcc-4.8 (= ${gcc:Version}) Breaks: gcc-mingw-w64 (<< ${split:Version}) Replaces: gcc-mingw-w64 (<< ${split:Version}) Suggests: gcc-4.8-locales (>= ${local:Version}) Description: GNU Fortran compiler for MinGW-w64 targeting Win64 MinGW-w64 provides a development and runtime environment for 32- and 64-bit (x86 and x64) Windows applications using the Windows API and the GNU Compiler Collection (gcc). . This package contains the Fortran compiler, supporting cross-compiling to 64-bit MinGW-w64 targets. Package: gobjc-mingw-w64 Architecture: all Depends: gobjc-mingw-w64-i686, gobjc-mingw-w64-x86-64, ${misc:Depends} Built-Using: gcc-4.8 (= ${gcc:Version}) Description: GNU Objective-C compiler for MinGW-w64 MinGW-w64 provides a development and runtime environment for 32- and 64-bit (x86 and x64) Windows applications using the Windows API and the GNU Compiler Collection (gcc). . This metapackage provides the Objective-C compiler, supporting cross-compiling to 32- and 64-bit MinGW-w64 targets. Package: gobjc-mingw-w64-i686 Architecture: any Depends: gcc-mingw-w64-i686 (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends} Built-Using: gcc-4.8 (= ${gcc:Version}) Suggests: gcc-4.8-locales (>= ${local:Version}) Description: GNU Objective-C compiler for MinGW-w64 targeting Win32 MinGW-w64 provides a development and runtime environment for 32- and 64-bit (x86 and x64) Windows applications using the Windows API and the GNU Compiler Collection (gcc). . This package contains the Objective-C compiler, supporting cross-compiling to 32-bit MinGW-w64 targets. Package: gobjc-mingw-w64-x86-64 Architecture: any Depends: gcc-mingw-w64-x86-64 (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends} Built-Using: gcc-4.8 (= ${gcc:Version}) Suggests: gcc-4.8-locales (>= ${local:Version}) Description: GNU Objective-C compiler for MinGW-w64 targeting Win64 MinGW-w64 provides a development and runtime environment for 32- and 64-bit (x86 and x64) Windows applications using the Windows API and the GNU Compiler Collection (gcc). . This package contains the Objective-C compiler, supporting cross-compiling to 64-bit MinGW-w64 targets. Package: gobjc++-mingw-w64 Architecture: all Depends: gobjc++-mingw-w64-i686, gobjc++-mingw-w64-x86-64, ${misc:Depends} Built-Using: gcc-4.8 (= ${gcc:Version}) Description: GNU Objective-C++ compiler for MinGW-w64 MinGW-w64 provides a development and runtime environment for 32- and 64-bit (x86 and x64) Windows applications using the Windows API and the GNU Compiler Collection (gcc). . This metapackage provides the Objective-C++ compiler, supporting cross-compiling to 32- and 64-bit MinGW-w64 targets. Package: gobjc++-mingw-w64-i686 Architecture: any Depends: gobjc-mingw-w64-i686 (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends} Built-Using: gcc-4.8 (= ${gcc:Version}) Suggests: gcc-4.8-locales (>= ${local:Version}) Description: GNU Objective-C++ compiler for MinGW-w64 targeting Win32 MinGW-w64 provides a development and runtime environment for 32- and 64-bit (x86 and x64) Windows applications using the Windows API and the GNU Compiler Collection (gcc). . This package contains the Objective-C++ compiler, supporting cross-compiling to 32-bit MinGW-w64 targets. Package: gobjc++-mingw-w64-x86-64 Architecture: any Depends: gobjc-mingw-w64-x86-64 (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends} Built-Using: gcc-4.8 (= ${gcc:Version}) Suggests: gcc-4.8-locales (>= ${local:Version}) Description: GNU Objective-C++ compiler for MinGW-w64 targeting Win64 MinGW-w64 provides a development and runtime environment for 32- and 64-bit (x86 and x64) Windows applications using the Windows API and the GNU Compiler Collection (gcc). . This package contains the Objective-C++ compiler, supporting cross-compiling to 64-bit MinGW-w64 targets. Package: gcc-mingw-w64-base Architecture: any Depends: ${misc:Depends} Built-Using: gcc-4.8 (= ${gcc:Version}) Description: GNU Compiler Collection for MinGW-w64 (base package) MinGW-w64 provides a development and runtime environment for 32- and 64-bit (x86 and x64) Windows applications using the Windows API and the GNU Compiler Collection (gcc). . This empty package contains the documentation common to all gcc-mingw-w64 packages. gcc-mingw-w64-12/debian/copyright0000644000000000000000000007306712262267111013647 0ustar This work was packaged for Debian by: Stephen Kitt on Tue, 07 Sep 2010 15:57:34 +0200 It is based on the gcc-4.8-source package maintained by the Debian GCC Maintainers . The following is reproduced from the copyright file in gcc-4.8-source: This is the Debian GNU/Linux prepackaged version of the GNU compiler collection, containing Ada, C, C++, Fortran 95, Java, Objective-C, Objective-C++, and Treelang compilers, documentation, and support libraries. In addition, Debian provides the gdc compiler, either in the same source package, or built from a separate same source package. Packaging is done by the Debian GCC Maintainers , with sources obtained from: ftp://gcc.gnu.org/pub/gcc/releases/ (for full releases) svn://gcc.gnu.org/svn/gcc/ (for prereleases) http://bitbucket.org/goshawk/gdc (for D) The current gcc-4.8 source package is taken from the SVN gcc-4_8-branch. Changes: See changelog.Debian.gz Debian splits the GNU Compiler Collection into packages for each language, library, and documentation as follows: Language Compiler package Library package Documentation --------------------------------------------------------------------------- Ada gnat-4.8 libgnat-4.8 gnat-4.8-doc C gcc-4.8 gcc-4.8-doc C++ g++-4.8 libstdc++6 libstdc++6-4.8-doc D gdc-4.8 Fortran 95 gfortran-4.8 libgfortran3 gfortran-4.8-doc Go gccgo-4.8 libgo0 Java gcj-4.8 libgcj10 libgcj-doc Objective C gobjc-4.8 libobjc2 Objective C++ gobjc++-4.8 For some language run-time libraries, Debian provides source files, development files, debugging symbols and libraries containing position- independent code in separate packages: Language Sources Development Debugging Position-Independent ------------------------------------------------------------------------------ C++ libstdc++6-4.8-dbg libstdc++6-4.8-pic D libphobos-4.8-dev Java libgcj10-src libgcj10-dev libgcj10-dbg Additional packages include: All languages: libgcc1, libgcc2, libgcc4 GCC intrinsics (platform-dependent) gcc-4.8-base Base files common to all compilers gcc-4.8-soft-float Software floating point (ARM only) gcc-4.8-source The sources with patches Ada: libgnatvsn-dev, libgnatvsn4.8 GNAT version library libgnatprj-dev, libgnatprj4.8 GNAT Project Manager library C: cpp-4.8, cpp-4.8-doc GNU C Preprocessor libmudflap0-dev, libmudflap0 Library for instrumenting pointers libssp0-dev, libssp0 GCC stack smashing protection library libquadmath0 Math routines for the __float128 type fixincludes Fix non-ANSI header files protoize Create/remove ANSI prototypes from C code Java: gij The Java bytecode interpreter and VM libgcj-common Common files for the Java run-time libgcj10-awt The Abstract Windowing Toolkit libgcj10-jar Java ARchive for the Java run-time C, C++ and Fortran 95: libgomp1-dev, libgomp1 GCC OpenMP (GOMP) support library libitm1-dev, libitm1 GNU Transactional Memory Library Biarch support: On some 64-bit platforms which can also run 32-bit code, Debian provides additional packages containing 32-bit versions of some libraries. These packages have names beginning with 'lib32' instead of 'lib', for example lib32stdc++6. Similarly, on some 32-bit platforms which can also run 64-bit code, Debian provides additional packages with names beginning with 'lib64' instead of 'lib'. These packages contain 64-bit versions of the libraries. (At this time, not all platforms and not all libraries support biarch.) The license terms for these lib32 or lib64 packages are identical to the ones for the lib packages. COPYRIGHT STATEMENTS AND LICENSING TERMS GCC is Copyright (C) 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC 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. Files that have exception clauses are licensed under the terms of the GNU General Public License; either version 3, or (at your option) any later version. On Debian GNU/Linux systems, the complete text of the GNU General Public License is in `/usr/share/common-licenses/GPL', version 3 of this license in `/usr/share/common-licenses/GPL-3'. The following runtime libraries are licensed under the terms of the GNU General Public License (v3 or later) with version 3.1 of the GCC Runtime Library Exception (included in this file): - libgcc (libgcc/, gcc/libgcc2.[ch], gcc/unwind*, gcc/gthr*, gcc/coretypes.h, gcc/crtstuff.c, gcc/defaults.h, gcc/dwarf2.h, gcc/emults.c, gcc/gbl-ctors.h, gcc/gcov-io.h, gcc/libgcov.c, gcc/tsystem.h, gcc/typeclass.h). - libatomic - libdecnumber - libgomp - libitm - libssp - libstdc++-v3 - libobjc - libmudflap - libgfortran - The libgnat-4.8 Ada support library and libgnatvsn library. - Various config files in gcc/config/ used in runtime libraries. In contrast, libgnatprj is licensed under the terms of the pure GNU General Public License. The libbacktrace library is licensed under the following terms: Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. (3) The name of the author may not be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. The libsanitizer library (libasan) is licensed under the following terms: Copyright (c) 2009-2012 by the LLVM contributors. All rights reserved. Developed by: LLVM Team University of Illinois at Urbana-Champaign http://llvm.org Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal with the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimers. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimers in the documentation and/or other materials provided with the distribution. * Neither the names of the LLVM Team, University of Illinois at Urbana-Champaign, nor the names of its contributors may be used to endorse or promote products derived from this Software without specific prior written permission. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE SOFTWARE. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. The libgcj library is licensed under the terms of the GNU General Public License, with a special exception: Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and conditions of the GNU General Public License cover the whole combination. As a special exception, the copyright holders of this library give you permission to link this library with independent modules to produce an executable, regardless of the license terms of these independent modules, and to copy and distribute the resulting executable under terms of your choice, provided that you also meet, for each linked independent module, the terms and conditions of the license of that module. An independent module is a module which is not derived from or based on this library. If you modify this library, you may extend this exception to your version of the library, but you are not obligated to do so. If you do not wish to do so, delete this exception statement from your version. The libffi library is licensed under the following terms: libffi - Copyright (c) 1996-2003 Red Hat, Inc. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the ``Software''), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED ``AS IS'', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL CYGNUS SOLUTIONS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. The documentation is licensed under the GNU Free Documentation License (v1.2). On Debian GNU/Linux systems, the complete text of this license is in `/usr/share/common-licenses/GFDL-1.2'. GCC RUNTIME LIBRARY EXCEPTION Version 3.1, 31 March 2009 Copyright (C) 2009 Free Software Foundation, Inc. Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. This GCC Runtime Library Exception ("Exception") is an additional permission under section 7 of the GNU General Public License, version 3 ("GPLv3"). It applies to a given file (the "Runtime Library") that bears a notice placed by the copyright holder of the file stating that the file is governed by GPLv3 along with this Exception. When you use GCC to compile a program, GCC may combine portions of certain GCC header files and runtime libraries with the compiled program. The purpose of this Exception is to allow compilation of non-GPL (including proprietary) programs to use, in this way, the header files and runtime libraries covered by this Exception. 0. Definitions. A file is an "Independent Module" if it either requires the Runtime Library for execution after a Compilation Process, or makes use of an interface provided by the Runtime Library, but is not otherwise based on the Runtime Library. "GCC" means a version of the GNU Compiler Collection, with or without modifications, governed by version 3 (or a specified later version) of the GNU General Public License (GPL) with the option of using any subsequent versions published by the FSF. "GPL-compatible Software" is software whose conditions of propagation, modification and use would permit combination with GCC in accord with the license of GCC. "Target Code" refers to output from any compiler for a real or virtual target processor architecture, in executable form or suitable for input to an assembler, loader, linker and/or execution phase. Notwithstanding that, Target Code does not include data in any format that is used as a compiler intermediate representation, or used for producing a compiler intermediate representation. The "Compilation Process" transforms code entirely represented in non-intermediate languages designed for human-written code, and/or in Java Virtual Machine byte code, into Target Code. Thus, for example, use of source code generators and preprocessors need not be considered part of the Compilation Process, since the Compilation Process can be understood as starting with the output of the generators or preprocessors. A Compilation Process is "Eligible" if it is done using GCC, alone or with other GPL-compatible software, or if it is done without using any work based on GCC. For example, using non-GPL-compatible Software to optimize any GCC intermediate representations would not qualify as an Eligible Compilation Process. 1. Grant of Additional Permission. You have permission to propagate a work of Target Code formed by combining the Runtime Library with Independent Modules, even if such propagation would otherwise violate the terms of GPLv3, provided that all Target Code was generated by Eligible Compilation Processes. You may then convey such a combination under terms of your choice, consistent with the licensing of the Independent Modules. 2. No Weakening of GCC Copyleft. The availability of this Exception does not imply any general presumption that third-party software is unaffected by the copyleft requirements of the license of GCC. libquadmath/*.[hc]: Copyright (C) 2010 Free Software Foundation, Inc. Written by Francois-Xavier Coudert Written by Tobias Burnus This file is part of the libiberty library. Libiberty is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. Libiberty 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 Library General Public License for more details. libquadmath/gdtoa: The author of this software is David M. Gay. Copyright (C) 1998, 1999, 2000, 2001 by Lucent Technologies All Rights Reserved Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all copies and that both that the copyright notice and this permission notice and warranty disclaimer appear in supporting documentation, and that the name of Lucent or any of its entities not be used in advertising or publicity pertaining to distribution of the software without specific, written prior permission. LUCENT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL LUCENT OR ANY OF ITS ENTITIES BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. libquadmath/math: atanq.c, expm1q.c, j0q.c, j1q.c, log1pq.c, logq.c: Copyright 2001 by Stephen L. Moshier This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library 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 Lesser General Public License for more details. coshq.c, erfq.c, jnq.c, lgammaq.c, powq.c, roundq.c: Changes for 128-bit __float128 are Copyright (C) 2001 Stephen L. Moshier and are incorporated herein by permission of the author. The author reserves the right to distribute this material elsewhere under different copying permissions. These modifications are distributed here under the following terms: This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library 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 Lesser General Public License for more details. ldexpq.c: * Conversion to long double by Ulrich Drepper, * Cygnus Support, drepper@cygnus.com. cosq_kernel.c, expq.c, sincos_table.c, sincosq.c, sincosq_kernel.c, sinq_kernel.c, truncq.c: Copyright (C) 1997, 1999 Free Software Foundation, Inc. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. The GNU C Library 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 Lesser General Public License for more details. isinfq.c: * Written by J.T. Conklin . * Change for long double by Jakub Jelinek * Public domain. llroundq.c, lroundq.c, tgammaq.c: Copyright (C) 1997, 1999, 2002, 2004 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper , 1997 and Jakub Jelinek , 1999. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. The GNU C Library 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 Lesser General Public License for more details. log10q.c: Cephes Math Library Release 2.2: January, 1991 Copyright 1984, 1991 by Stephen L. Moshier Adapted for glibc November, 2001 This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library 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 Lesser General Public License for more details. remaining files: * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. * * Developed at SunPro, a Sun Microsystems, Inc. business. * Permission to use, copy, modify, and distribute this * software is freely granted, provided that this notice * is preserved. libjava/classpath/resource/gnu/java/locale/* They are copyrighted and covered by the terms of use: http://www.unicode.org/copyright.html EXHIBIT 1 UNICODE, INC. LICENSE AGREEMENT - DATA FILES AND SOFTWARE Unicode Data Files include all data files under the directories http://www.unicode.org/Public/ and http://www.unicode.org/reports/. Unicode Software includes any source code published in the Unicode Standard or under the directories http://www.unicode.org/Public/ and http://www.unicode.org/reports/. NOTICE TO USER: Carefully read the following legal agreement. BY DOWNLOADING, INSTALLING, COPYING OR OTHERWISE USING UNICODE INC.'S DATA FILES ("DATA FILES"), AND/OR SOFTWARE ("SOFTWARE"), YOU UNEQUIVOCALLY ACCEPT, AND AGREE TO BE BOUND BY, ALL OF THE TERMS AND CONDITIONS OF THIS AGREEMENT. IF YOU DO NOT AGREE, DO NOT DOWNLOAD, INSTALL, COPY, DISTRIBUTE OR USE THE DATA FILES OR SOFTWARE. COPYRIGHT AND PERMISSION NOTICE Copyrigh (c) 1991-2011 Unicode, Inc. All rights reserved. Distributed under the Terms of Use in http://www.unicode.org/copyright.html. Permission is hereby granted, free of charge, to any person obtaining a copy of the Unicode data files and any associated documentation (the "Data Files") or Unicode software and any associated documentation (the "Software") to deal in the Data Files or Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, and/or sell copies of the Data Files or Software, and to permit persons to whom the Data Files or Software are furnished to do so, provided that (a) the above copyright notice(s) and this permission notice appear with all copies of the Data Files or Software, (b) both the above copyright notice(s) and this permission notice appear in associated documentation, and (c) there is clear notice in each modified Data File or in the Software as well as in the documentation associated with the Data File(s) or Software that the data or software has been modified. THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THE DATA FILES OR SOFTWARE. Except as contained in this notice, the name of a copyright holder shall not be used in advertising or otherwise to promote the sale, use or other dealings in these Data Files or Software without prior written authorization of the copyright holder. Unicode and the Unicode logo are trademarks of Unicode, Inc., and may be registered in some jurisdictions. All other trademarks and registered trademarks mentioned herein are the property of their respective owners. gcc/go/gofrontend, libgo: Copyright (c) 2009 The Go Authors. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of Google Inc. nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. D: gdc-4.8 GNU D Compiler libphobos-4.8-dev D standard runtime library The D source package is made up of the following components. The D front-end for GCC: - d/* Copyright (C) 2004-2007 David Friedman Modified by Vincenzo Ampolo, Michael Parrot, Iain Buclaw, (C) 2009, 2010 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. On Debian GNU/Linux systems, the complete text of the GNU General Public License is in `/usr/share/common-licenses/GPL', version 2 of this license in `/usr/share/common-licenses/GPL-2'. The DMD Compiler implementation of the D programming language: - d/dmd/* Copyright (c) 1999-2010 by Digital Mars All Rights Reserved written by Walter Bright http://www.digitalmars.com License for redistribution is by either the Artistic License or the GNU General Public License (v1). On Debian GNU/Linux systems, the complete text of the GNU General Public License is in `/usr/share/common-licenses/GPL', the Artistic license in `/usr/share/common-licenses/Artistic'. The Zlib data compression library: - d/phobos/etc/c/zlib/* (C) 1995-2004 Jean-loup Gailly and Mark Adler This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions: 1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required. 2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. 3. This notice may not be removed or altered from any source distribution. The Phobos standard runtime library: - d/phobos/* Unless otherwise marked within the file, each file in the source is under the following licenses: Copyright (C) 2004-2005 by Digital Mars, www.digitalmars.com Written by Walter Bright This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, in both source and binary form, subject to the following restrictions: o The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required. o Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. o This notice may not be removed or altered from any source distribution. By plainly marking modifications, something along the lines of adding to each file that has been changed a "Modified by Foo Bar" line underneath the "Written by" line would be adequate. The Debian packaging is: Copyright © 2010-2014 Stephen Kitt and is licensed under the GPL version 3 or later, see above. gcc-mingw-w64-12/debian/watch0000644000000000000000000000013012243612323012720 0ustar version=3 http://ftp.debian.org/debian/pool/main/g/gcc-4.8/gcc-4\.8_(.*)\.orig\.tar\.gz gcc-mingw-w64-12/debian/gfortran-mingw-w64-x86-64.lintian-overrides0000644000000000000000000000032411774360172021517 0ustar # gcc manpages are non-free gfortran-mingw-w64-x86-64: binary-without-manpage # This isn't a spelling error gfortran-mingw-w64-x86-64: spelling-error-in-binary usr/lib/gcc/x86_64-w64-mingw32/4.6/f951 ment meant gcc-mingw-w64-12/debian/gnat-mingw-w64-i686.lintian-overrides0000644000000000000000000000146011774360172020450 0ustar # gcc manpages are non-free gnat-mingw-w64-i686: binary-without-manpage # These aren't spelling errors gnat-mingw-w64-i686: spelling-error-in-binary usr/bin/i686-w64-mingw32-gnat ment meant gnat-mingw-w64-i686: spelling-error-in-binary usr/bin/i686-w64-mingw32-gnat Nam Name gnat-mingw-w64-i686: spelling-error-in-binary usr/bin/i686-w64-mingw32-gnatclean ment meant gnat-mingw-w64-i686: spelling-error-in-binary usr/bin/i686-w64-mingw32-gnatclean Nam Name gnat-mingw-w64-i686: spelling-error-in-binary usr/bin/i686-w64-mingw32-gnatlink nam name gnat-mingw-w64-i686: spelling-error-in-binary usr/bin/i686-w64-mingw32-gnatmake ment meant gnat-mingw-w64-i686: spelling-error-in-binary usr/bin/i686-w64-mingw32-gnatmake Nam Name gnat-mingw-w64-i686: spelling-error-in-binary usr/bin/i686-w64-mingw32-gnatname nam name gcc-mingw-w64-12/debian/control.base0000644000000000000000000000067112262356514014225 0ustar Package: gcc-mingw-w64-base Architecture: any Depends: ${misc:Depends} Built-Using: gcc-4.8 (= ${gcc:Version}) Description: GNU Compiler Collection for MinGW-w64 (base package) MinGW-w64 provides a development and runtime environment for 32- and 64-bit (x86 and x64) Windows applications using the Windows API and the GNU Compiler Collection (gcc). . This empty package contains the documentation common to all gcc-mingw-w64 packages. gcc-mingw-w64-12/debian/control.fortran.sed0000644000000000000000000000070011774362711015534 0ustar s/@@PACKAGE@@/gfortran/g s/@@LANGUAGE@@/Fortran/g s/@@DEPENDS32@@/gcc-mingw-w64-i686 (= ${binary:Version})/g s/@@DEPENDS64@@/gcc-mingw-w64-x86-64 (= ${binary:Version})/g s/@@RECOMMENDS@@//g s/@@REPLACES32@@/gcc-mingw-w64 (<< ${split:Version})/g s/@@REPLACES64@@/gcc-mingw-w64 (<< ${split:Version})/g s/@@CONFLICTS32@@//g s/@@CONFLICTS64@@//g s/@@BREAKS32@@/gcc-mingw-w64 (<< ${split:Version})/g s/@@BREAKS64@@/gcc-mingw-w64 (<< ${split:Version})/g gcc-mingw-w64-12/debian/rules.full0000644000000000000000000000147512262356543013734 0ustar # Build the full GCC. package := gcc-mingw-w64 languages := c,c++,fortran,objc,obj-c++ debian_extra_langs := ada export debian_extra_langs BUILD_TARGET := INSTALL_TARGET := install install-lto-plugin comma := , space := space += control: control-stamp control-stamp: echo \# This file is generated using debian/rules control, do not edit > debian/control cat debian/control.source >> debian/control for language in $(subst $(comma),$(space),$(languages)); do \ echo >> debian/control; \ sed -f debian/control.$$language.sed debian/control.template >> debian/control; \ done echo >> debian/control cat debian/control.base >> debian/control sed -i '/^Recommends: $$/d' debian/control sed -i '/^Breaks: $$/d' debian/control sed -i '/^Conflicts: $$/d' debian/control sed -i '/^Replaces: $$/d' debian/control touch $@ gcc-mingw-w64-12/debian/g++-mingw-w64-x86-64.lintian-overrides0000644000000000000000000000011111774360172020243 0ustar # gcc manpages are non-free g++-mingw-w64-x86-64: binary-without-manpage gcc-mingw-w64-12/debian/rules.variant0000777000000000000000000000000012262356514016440 2rules.fullustar gcc-mingw-w64-12/debian/gcc-mingw-w64-x86-64.lintian-overrides0000644000000000000000000000011111774360172020423 0ustar # gcc manpages are non-free gcc-mingw-w64-x86-64: binary-without-manpage gcc-mingw-w64-12/debian/gobjc-mingw-w64-i686.install0000644000000000000000000000034112243612626016604 0ustar usr/lib/gcc/i686-w64-mingw32/4.8/cc1obj usr/lib/gcc/i686-w64-mingw32/4.8/include/objc/* usr/lib/gcc/i686-w64-mingw32/4.8/libobjc-4.dll usr/lib/gcc/i686-w64-mingw32/4.8/libobjc.a usr/lib/gcc/i686-w64-mingw32/4.8/libobjc.dll.a gcc-mingw-w64-12/debian/control.ada.sed0000644000000000000000000000067012262356514014611 0ustar s/@@PACKAGE@@/gnat/g s/@@LANGUAGE@@/Ada/g s/@@DEPENDS32@@/gcc-mingw-w64-i686 (= ${binary:Version})/g s/@@DEPENDS64@@/gcc-mingw-w64-x86-64 (= ${binary:Version})/g s/@@RECOMMENDS@@//g s/@@REPLACES32@@/gcc-mingw-w64 (<< ${split:Version})/g s/@@REPLACES64@@/gcc-mingw-w64 (<< ${split:Version})/g s/@@CONFLICTS32@@//g s/@@CONFLICTS64@@//g s/@@BREAKS32@@/gcc-mingw-w64 (<< ${split:Version})/g s/@@BREAKS64@@/gcc-mingw-w64 (<< ${split:Version})/g gcc-mingw-w64-12/debian/g++-mingw-w64-i686.lintian-overrides0000644000000000000000000000010711774360172020070 0ustar # gcc manpages are non-free g++-mingw-w64-i686: binary-without-manpage gcc-mingw-w64-12/debian/control.obj-c++.sed0000644000000000000000000000047511774362711015212 0ustar s/@@PACKAGE@@/gobjc++/g s/@@LANGUAGE@@/Objective-C++/g s/@@DEPENDS32@@/gobjc-mingw-w64-i686 (= ${binary:Version})/g s/@@DEPENDS64@@/gobjc-mingw-w64-x86-64 (= ${binary:Version})/g s/@@RECOMMENDS@@//g s/@@REPLACES32@@//g s/@@REPLACES64@@//g s/@@CONFLICTS32@@//g s/@@CONFLICTS64@@//g s/@@BREAKS32@@//g s/@@BREAKS64@@//g gcc-mingw-w64-12/debian/g++-mingw-w64-i686.install0000644000000000000000000000065612243612465016106 0ustar usr/bin/i686-w64-mingw32-c++ usr/bin/i686-w64-mingw32-g++ usr/include/c++/4.8/i686-w64-mingw32/bits/* usr/include/c++/4.8/i686-w64-mingw32/ext/* usr/lib/gcc/i686-w64-mingw32/4.8/cc1plus usr/lib/gcc/i686-w64-mingw32/4.8/libstdc++-6.dll usr/lib/gcc/i686-w64-mingw32/4.8/libstdc++.a usr/lib/gcc/i686-w64-mingw32/4.8/libstdc++.dll.a usr/lib/gcc/i686-w64-mingw32/4.8/libstdc++.dll.a-gdb.py usr/lib/gcc/i686-w64-mingw32/4.8/libsupc++.a gcc-mingw-w64-12/debian/gnat-mingw-w64-i686.install0000644000000000000000000000102012243612465016445 0ustar usr/bin/i686-w64-mingw32-gnat usr/bin/i686-w64-mingw32-gnatbind usr/bin/i686-w64-mingw32-gnatchop usr/bin/i686-w64-mingw32-gnatclean usr/bin/i686-w64-mingw32-gnatfind usr/bin/i686-w64-mingw32-gnatkr usr/bin/i686-w64-mingw32-gnatlink usr/bin/i686-w64-mingw32-gnatls usr/bin/i686-w64-mingw32-gnatmake usr/bin/i686-w64-mingw32-gnatname usr/bin/i686-w64-mingw32-gnatprep usr/bin/i686-w64-mingw32-gnatxref usr/lib/gcc/i686-w64-mingw32/4.8/adainclude/* usr/lib/gcc/i686-w64-mingw32/4.8/adalib/* usr/lib/gcc/i686-w64-mingw32/4.8/gnat1 gcc-mingw-w64-12/debian/control.c.sed0000644000000000000000000000124212066110246014272 0ustar s/@@PACKAGE@@/gcc/g s/@@LANGUAGE@@/C/g s/@@DEPENDS32@@/binutils-mingw-w64-i686, mingw-w64-i686-dev, gcc-mingw-w64-base (= ${binary:Version})/g s/@@DEPENDS64@@/binutils-mingw-w64-x86-64, mingw-w64-x86-64-dev, gcc-mingw-w64-base (= ${binary:Version})/g s/@@RECOMMENDS@@/g++-mingw-w64, gfortran-mingw-w64, gnat-mingw-w64/g s/@@REPLACES32@@/gcc-mingw-w64 (<< ${split:Version}), gcc-mingw-w64-bootstrap/g s/@@REPLACES64@@/gcc-mingw-w64 (<< ${split:Version}), gcc-mingw-w64-bootstrap/g s/@@CONFLICTS32@@/gcc-mingw-w64-bootstrap/g s/@@CONFLICTS64@@/gcc-mingw-w64-bootstrap/g s/@@BREAKS32@@/gcc-mingw-w64 (<< ${split:Version})/g s/@@BREAKS64@@/gcc-mingw-w64 (<< ${split:Version})/g gcc-mingw-w64-12/debian/gcc-mingw-w64-i686.install0000644000000000000000000000317212261207124016252 0ustar usr/bin/i686-w64-mingw32-cpp usr/bin/i686-w64-mingw32-gcc usr/bin/i686-w64-mingw32-gcc-4.8 usr/bin/i686-w64-mingw32-gcc-ar usr/bin/i686-w64-mingw32-gcc-nm usr/bin/i686-w64-mingw32-gcc-ranlib usr/bin/i686-w64-mingw32-gcov usr/lib/gcc/i686-w64-mingw32/4.8/cc1 usr/lib/gcc/i686-w64-mingw32/4.8/collect2 usr/lib/gcc/i686-w64-mingw32/4.8/crtbegin.o usr/lib/gcc/i686-w64-mingw32/4.8/crtend.o usr/lib/gcc/i686-w64-mingw32/4.8/crtfastmath.o usr/lib/gcc/i686-w64-mingw32/4.8/include-fixed/* usr/lib/gcc/i686-w64-mingw32/4.8/include/*.h usr/lib/gcc/i686-w64-mingw32/4.8/include/ssp/* usr/lib/gcc/i686-w64-mingw32/4.8/install-tools/* usr/lib/gcc/i686-w64-mingw32/4.8/libcaf_single.a usr/lib/gcc/i686-w64-mingw32/4.8/libgcc.a usr/lib/gcc/i686-w64-mingw32/4.8/libgcc_eh.a usr/lib/gcc/i686-w64-mingw32/4.8/libgcc_s.a usr/lib/gcc/i686-w64-mingw32/4.8/libgcc_s_sjlj-1.dll usr/lib/gcc/i686-w64-mingw32/4.8/libgcov.a usr/lib/gcc/i686-w64-mingw32/4.8/libgomp.a usr/lib/gcc/i686-w64-mingw32/4.8/libgomp-1.dll usr/lib/gcc/i686-w64-mingw32/4.8/libgomp.dll.a usr/lib/gcc/i686-w64-mingw32/4.8/libgomp.spec usr/lib/gcc/i686-w64-mingw32/4.8/liblto_plugin.so usr/lib/gcc/i686-w64-mingw32/4.8/liblto_plugin.so.0 usr/lib/gcc/i686-w64-mingw32/4.8/liblto_plugin.so.0.0.0 usr/lib/gcc/i686-w64-mingw32/4.8/libquadmath-0.dll usr/lib/gcc/i686-w64-mingw32/4.8/libquadmath.a usr/lib/gcc/i686-w64-mingw32/4.8/libquadmath.dll.a usr/lib/gcc/i686-w64-mingw32/4.8/libssp-0.dll usr/lib/gcc/i686-w64-mingw32/4.8/libssp.a usr/lib/gcc/i686-w64-mingw32/4.8/libssp.dll.a usr/lib/gcc/i686-w64-mingw32/4.8/libssp_nonshared.a usr/lib/gcc/i686-w64-mingw32/4.8/lto-wrapper usr/lib/gcc/i686-w64-mingw32/4.8/lto1 gcc-mingw-w64-12/debian/README.source0000644000000000000000000000240312244073352014057 0ustar gcc-mingw-w64 for Debian ------------------------ IMPORTANT: debian/control is regenerated during every build, and must not be modified directly. The global stanzas are in debian/control.source, gcc-mingw-w64-base is described in debian/control.base, the remaining packages' descriptions are built from debian/control.template using the various per-language sed scripts. debian/control.bootstrap is used when bootstrapping. To rebuild debian/control manually, run debian/rules control Building gcc-mingw-w64 from scratch requires several steps. 1. Build the bootstrap gcc package which will allow mingw-w64 to be built: ln -sf rules.bootstrap debian/rules.variant cp debian/control.bootstrap debian/control dpkg-buildpackage 2. Install the resulting gcc-mingw-w64-bootstrap package. 3. Build the mingw-w64 package (see its README.source file for more details). 4. Install the mingw-w64 package. 5. Build the full gcc package: ln -sf rules.full debian/rules.variant debian/rules control dpkg-buildpackage The debian/bootstrap script handles steps 1 and 5. Note that once mingw-w64 is available (it's an architecture "all" package), building the gcc package no longer requires this series of steps. -- Stephen Kitt , Sat, 23 Nov 2013 10:35:12 +0100 gcc-mingw-w64-12/debian/control.c++.sed0000644000000000000000000000101112243612057014416 0ustar s/@@PACKAGE@@/g++/g s/@@LANGUAGE@@/C++/g s/@@DEPENDS32@@/gcc-mingw-w64-i686 (= ${binary:Version}), libstdc++-4.8-dev (>= ${local:Version})/g s/@@DEPENDS64@@/gcc-mingw-w64-x86-64 (= ${binary:Version}), libstdc++-4.8-dev (>= ${local:Version})/g s/@@RECOMMENDS@@//g s/@@REPLACES32@@/gcc-mingw-w64 (<< ${split:Version})/g s/@@REPLACES64@@/gcc-mingw-w64 (<< ${split:Version})/g s/@@CONFLICTS32@@//g s/@@CONFLICTS64@@//g s/@@BREAKS32@@/gcc-mingw-w64 (<< ${split:Version})/g s/@@BREAKS64@@/gcc-mingw-w64 (<< ${split:Version})/g gcc-mingw-w64-12/debian/gobjc-mingw-w64-x86-64.install0000644000000000000000000000035312243612636016770 0ustar usr/lib/gcc/x86_64-w64-mingw32/4.8/cc1obj usr/lib/gcc/x86_64-w64-mingw32/4.8/include/objc/* usr/lib/gcc/x86_64-w64-mingw32/4.8/libobjc-4.dll usr/lib/gcc/x86_64-w64-mingw32/4.8/libobjc.a usr/lib/gcc/x86_64-w64-mingw32/4.8/libobjc.dll.a gcc-mingw-w64-12/debian/gobjc++-mingw-w64-x86-64.install0000644000000000000000000000005612243612465017116 0ustar usr/lib/gcc/x86_64-w64-mingw32/4.8/cc1objplus gcc-mingw-w64-12/debian/gcc-mingw-w64-i686.lintian-overrides0000644000000000000000000000010711774360172020250 0ustar # gcc manpages are non-free gcc-mingw-w64-i686: binary-without-manpage gcc-mingw-w64-12/debian/patches/0000755000000000000000000000000012243613627013334 5ustar gcc-mingw-w64-12/debian/patches/cpp-intrinsics.patch0000644000000000000000000003233011773767231017333 0ustar Description: Add to i386 intrinsic headers extern "C" blocks for C++ case Origin: http://gcc.gnu.org/ml/gcc-patches/2010-03/msg00033.html Author: Kai Tietz Last-Update: 2011-07-31 Index: gcc/gcc/config/i386/abmintrin.h =================================================================== --- gcc.orig/gcc/config/i386/abmintrin.h 2009-12-09 19:37:21.000000000 +0100 +++ gcc/gcc/config/i386/abmintrin.h 2010-03-01 18:17:12.895902500 +0100 @@ -32,6 +32,10 @@ #ifndef _ABMINTRIN_H_INCLUDED #define _ABMINTRIN_H_INCLUDED +#ifdef __cplusplus +extern "C" { +#endif + extern __inline unsigned short __attribute__((__gnu_inline__, __always_inline__, __artificial__)) __lzcnt16 (unsigned short __X) { @@ -52,4 +56,8 @@ __lzcnt64 (unsigned long __X) } #endif +#ifdef __cplusplus +} +#endif + #endif /* _ABMINTRIN_H_INCLUDED */ Index: gcc/gcc/config/i386/ammintrin.h =================================================================== --- gcc.orig/gcc/config/i386/ammintrin.h 2009-04-12 20:40:03.000000000 +0200 +++ gcc/gcc/config/i386/ammintrin.h 2010-03-01 18:17:12.899902500 +0100 @@ -34,6 +34,10 @@ /* We need definitions from the SSE3, SSE2 and SSE header files*/ #include +#ifdef __cplusplus +extern "C" { +#endif + extern __inline void __attribute__((__gnu_inline__, __always_inline__, __artificial__)) _mm_stream_sd (double * __P, __m128d __Y) { @@ -83,6 +87,10 @@ _mm_inserti_si64(__m128i __X, __m128i __ (unsigned int)(I), (unsigned int)(L))) #endif +#ifdef __cplusplus +} +#endif + #endif /* __SSE4A__ */ #endif /* _AMMINTRIN_H_INCLUDED */ Index: gcc/gcc/config/i386/avxintrin.h =================================================================== --- gcc.orig/gcc/config/i386/avxintrin.h 2009-04-12 20:40:03.000000000 +0200 +++ gcc/gcc/config/i386/avxintrin.h 2010-03-01 18:17:12.904902500 +0100 @@ -28,6 +28,10 @@ # error "Never use directly; include instead." #endif +#ifdef __cplusplus +extern "C" { +#endif + /* Internal data types for implementing the intrinsics. */ typedef double __v4df __attribute__ ((__vector_size__ (32))); typedef float __v8sf __attribute__ ((__vector_size__ (32))); @@ -1424,3 +1428,8 @@ _mm256_castsi128_si256 (__m128i __A) { return (__m256i) __builtin_ia32_si256_si ((__v4si)__A); } + +#ifdef __cplusplus +} +#endif + Index: gcc/gcc/config/i386/cpuid.h =================================================================== --- gcc.orig/gcc/config/i386/cpuid.h 2009-12-09 19:37:21.000000000 +0100 +++ gcc/gcc/config/i386/cpuid.h 2010-03-01 18:17:12.908902500 +0100 @@ -21,6 +21,10 @@ * . */ +#ifdef __cplusplus +extern "C" { +#endif + /* %ecx */ #define bit_SSE3 (1 << 0) #define bit_PCLMUL (1 << 1) @@ -179,3 +183,8 @@ __get_cpuid (unsigned int __level, __cpuid (__level, *__eax, *__ebx, *__ecx, *__edx); return 1; } + +#ifdef __cplusplus +} +#endif + Index: gcc/gcc/config/i386/emmintrin.h =================================================================== --- gcc.orig/gcc/config/i386/emmintrin.h 2009-04-12 20:40:03.000000000 +0200 +++ gcc/gcc/config/i386/emmintrin.h 2010-03-01 18:17:12.914902500 +0100 @@ -35,6 +35,10 @@ /* We need definitions from the SSE header files*/ #include +#ifdef __cplusplus +extern "C" { +#endif + /* SSE2 */ typedef double __v2df __attribute__ ((__vector_size__ (16))); typedef long long __v2di __attribute__ ((__vector_size__ (16))); @@ -1508,6 +1512,10 @@ _mm_castsi128_pd(__m128i __A) return (__m128d) __A; } +#ifdef __cplusplus +} +#endif + #endif /* __SSE2__ */ #endif /* _EMMINTRIN_H_INCLUDED */ Index: gcc/gcc/config/i386/fma4intrin.h =================================================================== --- gcc.orig/gcc/config/i386/fma4intrin.h 2009-11-11 18:08:09.000000000 +0100 +++ gcc/gcc/config/i386/fma4intrin.h 2010-03-01 18:17:12.918902500 +0100 @@ -35,6 +35,10 @@ /* We need definitions from the SSE4A, SSE3, SSE2 and SSE header files. */ #include +#ifdef __cplusplus +extern "C" { +#endif + /* 128b Floating point multiply/add type instructions. */ extern __inline __m128 __attribute__((__gnu_inline__, __always_inline__, __artificial__)) _mm_macc_ps (__m128 __A, __m128 __B, __m128 __C) @@ -231,6 +235,10 @@ _mm256_msubadd_pd (__m256d __A, __m256d return (__m256d) __builtin_ia32_vfmsubaddpd256 ((__v4df)__A, (__v4df)__B, (__v4df)__C); } +#ifdef __cplusplus +} +#endif + #endif #endif Index: gcc/gcc/config/i386/gmm_malloc.h =================================================================== --- gcc.orig/gcc/config/i386/gmm_malloc.h 2009-04-12 20:40:03.000000000 +0200 +++ gcc/gcc/config/i386/gmm_malloc.h 2010-03-01 18:17:12.922902500 +0100 @@ -27,6 +27,10 @@ #include #include +#ifdef __cplusplus +extern "C" { +#endif + static __inline__ void* _mm_malloc (size_t size, size_t align) { @@ -71,4 +75,8 @@ _mm_free (void * aligned_ptr) free (((void **) aligned_ptr) [-1]); } +#ifdef __cplusplus +} +#endif + #endif /* _MM_MALLOC_H_INCLUDED */ Index: gcc/gcc/config/i386/ia32intrin.h =================================================================== --- gcc.orig/gcc/config/i386/ia32intrin.h 2009-11-06 11:12:44.000000000 +0100 +++ gcc/gcc/config/i386/ia32intrin.h 2010-03-01 18:17:12.926902500 +0100 @@ -25,6 +25,10 @@ # error "Never use directly; include instead." #endif +#ifdef __cplusplus +extern "C" { +#endif + /* 32bit bsf */ extern __inline int __attribute__((__gnu_inline__, __always_inline__, __artificial__)) @@ -230,3 +234,8 @@ __rorq (unsigned long long __X, int __C) #define _rotwr(a,b) __rorw((a), (b)) #define _rotl(a,b) __rold((a), (b)) #define _rotr(a,b) __rord((a), (b)) + +#ifdef __cplusplus +} +#endif + Index: gcc/gcc/config/i386/lwpintrin.h =================================================================== --- gcc.orig/gcc/config/i386/lwpintrin.h 2009-12-17 17:30:27.000000000 +0100 +++ gcc/gcc/config/i386/lwpintrin.h 2010-03-01 18:17:12.932902500 +0100 @@ -32,6 +32,10 @@ # error "LWP instruction set not enabled" #else +#ifdef __cplusplus +extern "C" { +#endif + extern __inline void __attribute__((__gnu_inline__, __always_inline__, __artificial__)) __llwpcb (void *pcbAddress) { @@ -95,6 +99,10 @@ __lwpins64 (unsigned long long data2, un #endif #endif +#ifdef __cplusplus +} +#endif + #endif /* __LWP__ */ #endif /* _LWPINTRIN_H_INCLUDED */ Index: gcc/gcc/config/i386/mm3dnow.h =================================================================== --- gcc.orig/gcc/config/i386/mm3dnow.h 2009-04-12 20:40:03.000000000 +0200 +++ gcc/gcc/config/i386/mm3dnow.h 2010-03-01 18:17:12.936902500 +0100 @@ -31,6 +31,10 @@ #include +#ifdef __cplusplus +extern "C" { +#endif + extern __inline void __attribute__((__gnu_inline__, __always_inline__, __artificial__)) _m_femms (void) { @@ -210,6 +214,11 @@ _m_pswapd (__m64 __A) } #endif /* __3dNOW_A__ */ + +#ifdef __cplusplus +} +#endif + #endif /* __3dNOW__ */ #endif /* _MM3DNOW_H_INCLUDED */ Index: gcc/gcc/config/i386/mmintrin.h =================================================================== --- gcc.orig/gcc/config/i386/mmintrin.h 2009-04-12 20:40:03.000000000 +0200 +++ gcc/gcc/config/i386/mmintrin.h 2010-03-01 18:17:12.940902500 +0100 @@ -31,6 +31,11 @@ #ifndef __MMX__ # error "MMX instruction set not enabled" #else + +#ifdef __cplusplus +extern "C" { +#endif + /* The Intel API is flexible enough that we must allow aliasing with other vector types, and their scalar components. */ typedef int __m64 __attribute__ ((__vector_size__ (8), __may_alias__)); @@ -917,5 +922,9 @@ _mm_set1_pi8 (char __b) return _mm_set_pi8 (__b, __b, __b, __b, __b, __b, __b, __b); } +#ifdef __cplusplus +} +#endif + #endif /* __MMX__ */ #endif /* _MMINTRIN_H_INCLUDED */ Index: gcc/gcc/config/i386/pmm_malloc.h =================================================================== --- gcc.orig/gcc/config/i386/pmm_malloc.h 2009-04-12 20:40:03.000000000 +0200 +++ gcc/gcc/config/i386/pmm_malloc.h 2010-03-01 18:17:12.945902500 +0100 @@ -34,6 +34,10 @@ extern int posix_memalign (void **, size extern "C" int posix_memalign (void **, size_t, size_t) throw (); #endif +#ifdef __cplusplus +extern "C" { +#endif + static __inline void * _mm_malloc (size_t size, size_t alignment) { @@ -54,4 +58,8 @@ _mm_free (void * ptr) free (ptr); } +#ifdef __cplusplus +} +#endif + #endif /* _MM_MALLOC_H_INCLUDED */ Index: gcc/gcc/config/i386/pmmintrin.h =================================================================== --- gcc.orig/gcc/config/i386/pmmintrin.h 2009-04-12 20:40:03.000000000 +0200 +++ gcc/gcc/config/i386/pmmintrin.h 2010-03-01 18:17:12.949902500 +0100 @@ -35,6 +35,10 @@ /* We need definitions from the SSE2 and SSE header files*/ #include +#ifdef __cplusplus +extern "C" { +#endif + /* Additional bits in the MXCSR. */ #define _MM_DENORMALS_ZERO_MASK 0x0040 #define _MM_DENORMALS_ZERO_ON 0x0040 @@ -123,6 +127,10 @@ _mm_mwait (unsigned int __E, unsigned in __builtin_ia32_mwait (__E, __H); } +#ifdef __cplusplus +} +#endif + #endif /* __SSE3__ */ #endif /* _PMMINTRIN_H_INCLUDED */ Index: gcc/gcc/config/i386/popcntintrin.h =================================================================== --- gcc.orig/gcc/config/i386/popcntintrin.h 2009-12-09 19:37:21.000000000 +0100 +++ gcc/gcc/config/i386/popcntintrin.h 2010-03-01 18:17:12.953902500 +0100 @@ -28,6 +28,10 @@ #ifndef _POPCNTINTRIN_H_INCLUDED #define _POPCNTINTRIN_H_INCLUDED +#ifdef __cplusplus +extern "C" { +#endif + /* Calculate a number of bits set to 1. */ extern __inline int __attribute__((__gnu_inline__, __always_inline__, __artificial__)) _mm_popcnt_u32 (unsigned int __X) @@ -43,4 +47,8 @@ _mm_popcnt_u64 (unsigned long long __X) } #endif +#ifdef __cplusplus +} +#endif + #endif /* _POPCNTINTRIN_H_INCLUDED */ Index: gcc/gcc/config/i386/smmintrin.h =================================================================== --- gcc.orig/gcc/config/i386/smmintrin.h 2009-12-09 19:37:21.000000000 +0100 +++ gcc/gcc/config/i386/smmintrin.h 2010-03-01 18:17:12.957902500 +0100 @@ -36,6 +36,10 @@ files. */ #include +#ifdef __cplusplus +extern "C" { +#endif + /* Rounding mode macros. */ #define _MM_FROUND_TO_NEAREST_INT 0x00 #define _MM_FROUND_TO_NEG_INF 0x01 @@ -826,6 +830,10 @@ _mm_crc32_u64 (unsigned long long __C, u #endif /* __SSE4_2__ */ +#ifdef __cplusplus +} +#endif + #endif /* __SSE4_1__ */ #endif /* _SMMINTRIN_H_INCLUDED */ Index: gcc/gcc/config/i386/tmmintrin.h =================================================================== --- gcc.orig/gcc/config/i386/tmmintrin.h 2009-04-12 20:40:03.000000000 +0200 +++ gcc/gcc/config/i386/tmmintrin.h 2010-03-01 18:17:12.963902500 +0100 @@ -34,6 +34,10 @@ /* We need definitions from the SSE3, SSE2 and SSE header files*/ #include +#ifdef __cplusplus +extern "C" { +#endif + extern __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__)) _mm_hadd_epi16 (__m128i __X, __m128i __Y) { @@ -239,6 +243,10 @@ _mm_abs_pi32 (__m64 __X) return (__m64) __builtin_ia32_pabsd ((__v2si)__X); } +#ifdef __cplusplus +} +#endif + #endif /* __SSSE3__ */ #endif /* _TMMINTRIN_H_INCLUDED */ Index: gcc/gcc/config/i386/wmmintrin.h =================================================================== --- gcc.orig/gcc/config/i386/wmmintrin.h 2009-04-12 20:40:03.000000000 +0200 +++ gcc/gcc/config/i386/wmmintrin.h 2010-03-01 18:17:12.967902500 +0100 @@ -34,6 +34,10 @@ # error "AES/PCLMUL instructions not enabled" #else +#ifdef __cplusplus +extern "C" { +#endif + /* AES */ #ifdef __AES__ @@ -115,6 +119,10 @@ _mm_clmulepi64_si128 (__m128i __X, __m12 #endif #endif /* __PCLMUL__ */ +#ifdef __cplusplus +} +#endif + #endif /* __AES__/__PCLMUL__ */ #endif /* _WMMINTRIN_H_INCLUDED */ Index: gcc/gcc/config/i386/xmmintrin.h =================================================================== --- gcc.orig/gcc/config/i386/xmmintrin.h 2009-04-12 20:40:03.000000000 +0200 +++ gcc/gcc/config/i386/xmmintrin.h 2010-03-01 18:17:12.972902500 +0100 @@ -38,6 +38,10 @@ /* Get _mm_malloc () and _mm_free (). */ #include +#ifdef __cplusplus +extern "C" { +#endif + /* The Intel API is flexible enough that we must allow aliasing with other vector types, and their scalar components. */ typedef float __m128 __attribute__ ((__vector_size__ (16), __may_alias__)); @@ -1242,6 +1246,10 @@ do { \ (row3) = __builtin_ia32_movhlps (__t3, __t2); \ } while (0) +#ifdef __cplusplus +} +#endif + /* For backward source compatibility. */ #ifdef __SSE2__ # include Index: gcc/gcc/config/i386/xopintrin.h =================================================================== --- gcc.orig/gcc/config/i386/xopintrin.h 2010-02-26 18:40:15.000000000 +0100 +++ gcc/gcc/config/i386/xopintrin.h 2010-03-01 18:17:12.976902500 +0100 @@ -34,6 +34,10 @@ #include +#ifdef __cplusplus +extern "C" { +#endif + /* Integer multiply/add intructions. */ extern __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__)) _mm_maccs_epi16(__m128i __A, __m128i __B, __m128i __C) @@ -830,6 +834,10 @@ _mm256_permute2_ps (__m256 __X, __m256 _ (int)(I))) #endif /* __OPTIMIZE__ */ +#ifdef __cplusplus +} +#endif + #endif /* __XOP__ */ #endif /* _XOPMMINTRIN_H_INCLUDED */ gcc-mingw-w64-12/debian/patches/spelling-fixes-code.patch0000644000000000000000000000431412215640425020213 0ustar Description: Spelling fixes ("information", "writing") Author: Stephen Kitt Forwarded: http://gcc.gnu.org/ml/gcc-patches/2011-09/msg01216.html diff -urN gcc-mingw-w64.orig/src/gcc/graphite-poly.c gcc-mingw-w64/src/gcc/graphite-poly.c --- gcc-mingw-w64.orig/src/gcc/graphite-poly.c 2012-02-10 07:01:06.000000000 +0100 +++ gcc-mingw-w64/src/gcc/graphite-poly.c 2012-02-10 07:10:25.000000000 +0100 @@ -1174,7 +1174,7 @@ if (VEC_length (poly_dr_p, PBB_DRS (pbb)) == 0) { if (verbosity > 0) - fprintf (file, "# Access informations are not provided\n");\ + fprintf (file, "# Access information is not provided\n");\ fprintf (file, "0\n"); return; } @@ -1183,7 +1183,7 @@ fprintf (file, "# Data references (\n"); if (verbosity > 0) - fprintf (file, "# Access informations are provided\n"); + fprintf (file, "# Access information is provided\n"); fprintf (file, "1\n"); FOR_EACH_VEC_ELT (poly_dr_p, PBB_DRS (pbb), i, pdr) @@ -1196,7 +1196,7 @@ fprintf (file, "# Read data references (\n"); if (verbosity > 0) - fprintf (file, "# Read access informations\n"); + fprintf (file, "# Read access information\n"); fprintf (file, "%d\n", nb_reads); FOR_EACH_VEC_ELT (poly_dr_p, PBB_DRS (pbb), i, pdr) @@ -1210,7 +1210,7 @@ fprintf (file, "# Write data references (\n"); if (verbosity > 0) - fprintf (file, "# Write access informations\n"); + fprintf (file, "# Write access information\n"); fprintf (file, "%d\n", nb_writes); FOR_EACH_VEC_ELT (poly_dr_p, PBB_DRS (pbb), i, pdr) diff -urN gcc-mingw-w64.orig/src/gcc/lto/lto.c gcc-mingw-w64/src/gcc/lto/lto.c --- gcc-mingw-w64.orig/src/gcc/lto/lto.c 2012-02-10 07:00:32.000000000 +0100 +++ gcc-mingw-w64/src/gcc/lto/lto.c 2012-02-10 07:10:44.000000000 +0100 @@ -1511,7 +1511,7 @@ fprintf (stderr, " %s (%s %i insns)", temp_filename, part->name, part->insns); if (cgraph_dump_file) { - fprintf (cgraph_dump_file, "Writting partition %s to file %s, %i insns\n", + fprintf (cgraph_dump_file, "Writing partition %s to file %s, %i insns\n", part->name, temp_filename, part->insns); fprintf (cgraph_dump_file, "cgraph nodes:"); dump_cgraph_node_set (cgraph_dump_file, set); gcc-mingw-w64-12/debian/patches/mingw-include.patch0000644000000000000000000000263112215640400017105 0ustar diff -urN src.old/gcc/config/i386/mingw32.h src/gcc/config/i386/mingw32.h --- src.old/gcc/config/i386/mingw32.h 2010-04-27 22:14:19.000000000 +0200 +++ src/gcc/config/i386/mingw32.h 2010-10-18 23:17:13.349755865 +0200 @@ -66,7 +66,7 @@ /* Override the standard choice of /usr/include as the default prefix to try when searching for header files. */ #undef STANDARD_INCLUDE_DIR -#define STANDARD_INCLUDE_DIR "/mingw/include" +#define STANDARD_INCLUDE_DIR "/include" #undef STANDARD_INCLUDE_COMPONENT #define STANDARD_INCLUDE_COMPONENT "MINGW" diff -urN src.old/gcc/config/i386/t-mingw32 src/gcc/config/i386/t-mingw32 --- src.old/gcc/config/i386/t-mingw32 2008-09-04 10:25:25.000000000 +0200 +++ src/gcc/config/i386/t-mingw32 2010-10-18 23:17:13.365755437 +0200 @@ -1,5 +1,5 @@ # Match SYSTEM_INCLUDE_DIR -NATIVE_SYSTEM_HEADER_DIR = /mingw/include +NATIVE_SYSTEM_HEADER_DIR = /include # MinGW-specific parts of LIB_SPEC SHLIB_LC = -lmingw32 -lmingwex -lmoldname -lmsvcrt -luser32 -lkernel32 -ladvapi32 -lshell32 diff -urN src.old/gcc/config/i386/t-mingw-w64 src/gcc/config/i386/t-mingw-w64 --- src.old/gcc/config/i386/t-mingw-w64 2009-04-26 15:50:12.000000000 +0200 +++ src/gcc/config/i386/t-mingw-w64 2010-10-18 23:17:13.365755437 +0200 @@ -1,5 +1,5 @@ # Match SYSTEM_INCLUDE_DIR -NATIVE_SYSTEM_HEADER_DIR = /mingw/include +NATIVE_SYSTEM_HEADER_DIR = /include MULTILIB_OPTIONS = m64/m32 MULTILIB_DIRNAMES = 64 32 gcc-mingw-w64-12/debian/patches/disable-multilib.patch0000644000000000000000000000040312243613435017571 0ustar --- src/gcc/config/i386/t-mingw-w64.orig 2011-11-02 16:23:48.000000000 +0100 +++ src/gcc/config/i386/t-mingw-w64 2012-07-02 20:42:14.707852988 +0200 @@ -1,3 +0,0 @@ -MULTILIB_OPTIONS = m64/m32 -MULTILIB_DIRNAMES = 64 32 -MULTILIB_OSDIRNAMES = ../lib ../lib32 gcc-mingw-w64-12/debian/changelog0000644000000000000000000001625512262356514013570 0ustar gcc-mingw-w64 (12) unstable; urgency=medium * Move the Ada packages to a new source package, to reduce the porting burden required to make gcc-mingw-w64 available on a new architecture (and the packages that build-depend on it). * The Windows linker doesn't support build ids, stop trying to enable them. -- Stephen Kitt Sun, 05 Jan 2014 15:40:32 +0100 gcc-mingw-w64 (11) unstable; urgency=medium * Stop building gnat on armhf, it doesn't work currently. * Stop installing the plugin development headers, they break the build on ia64 and aren't used anywhere. * Standards-Version 3.9.5, no change required. -- Stephen Kitt Thu, 02 Jan 2014 08:21:16 +0100 gcc-mingw-w64 (10) unstable; urgency=low * Build with gcc 4.8: - stringstream ignores _GLIBCXX_DEBUG (Closes: #703935); - update debian/copyright using that from gcc-4.8; - switch to libcloog-isl-dev. * Enable POSIX threads support using winpthreads (Closes: #697220). * Enable OpenMP support (Closes: #571773). * Drop the transitional gcc-mingw32 package. -- Stephen Kitt Sun, 24 Nov 2013 00:04:30 +0100 gcc-mingw-w64 (9) unstable; urgency=low * Use dpkg-vendor instead of lsb-release; thanks to Didier 'OdyX' Raboud for the patch (Closes: #671725). * Drop references to mingw-w64-dev (Closes: #726283). * Add README.Debian describing the gcc configuration (Closes: #540733). * Switch to my Debian address and drop DMUA. * Use canonical VCS URIs. * Standards-Version 3.9.4, no change required. -- Stephen Kitt Mon, 14 Oct 2013 07:22:06 +0200 gcc-mingw-w64 (8) unstable; urgency=low * Replace /usr/share/doc/gcc-mingw32 with a symlink when necessary (Closes: #690148). * Provide amd64 compatibility symlinks in gcc-mingw32, preserving the functionality of the Squeeze version (Closes: #695736); add g++ compatibility symlink (Closes: #682257). -- Stephen Kitt Wed, 12 Dec 2012 07:30:14 +0100 gcc-mingw-w64 (7) unstable; urgency=low * When upgrading from versions where /usr/share/doc/gcc-mingw-w64 is a directory, force its replacement with a symlink (Closes: #683617). -- Stephen Kitt Wed, 08 Aug 2012 08:21:56 +0200 gcc-mingw-w64 (6) unstable; urgency=low * Handle the different split-package versions in Ubuntu and Debian. * Add transitional "Recommends" so that gcc-mingw-w64 pulls in the compilers it used to provide (LP: #992217). * Make gcc-mingw32 install compatibility symlinks for binaries and manpages formerly provided by mingw32-binutils (LP: #992161). * Enable Ada support on armhf and hurd-i386 now that gnat-4.6 is available there. -- Stephen Kitt Sat, 05 May 2012 12:33:32 +0200 gcc-mingw-w64 (5) unstable; urgency=low * Add the DMUA flag set by Didier Raboud to the control.source file. * Add a warning to the generated debian/control file indicating that it shouldn't be modified directly. * Fix the version for Breaks/Replaces at 4.6.3-3+4, since this is the earliest version of the post-split package in the archive. Fixing the version avoids making the package set uninstallable. -- Stephen Kitt Wed, 18 Apr 2012 15:04:47 +0200 gcc-mingw-w64 (4) unstable; urgency=low [ Stephen Kitt ] * Split package into gcc, g++, gfortran and gnat packages. * Enable the Objective-C and Objective-C++ compilers. * Split package into 32- and 64-bit specific versions (-i686 and -x86-64) - see thread starting at http://lists.debian.org/4EBA730A.7060707@greffrath.com for rationale. * Build with gcc-4.6 explicitly, at least until gnat-4.7 is available (Closes: #667173). * Standards-Version 3.9.3, no change required. * Provide a transitional gcc-mingw32 package for backwards- compatibility (Closes: #644769); in addition, with regards to bugs filed against gcc-mingw32: - gcc-mingw-w64's version of mm_malloc.h is correct (Closes: #651300); - gcc-mingw-w64 compiles programs (Closes: #658619); - gcc-mingw-w64 provides shared versions of libgcc and libstdc++ (Closes: #540783); - the packages' dependency structure ensures that the various compiler packages depend on the appropriate development packages (Closes: #567698). * Update debian/copyright using the version provided by gcc-4.6. [ Didier Raboud ] * Confidently set the DM-Upload-Allowed flag to yes. -- Stephen Kitt Mon, 16 Apr 2012 08:46:45 +0200 gcc-mingw-w64 (3) unstable; urgency=low * Disable Ada support on armhf and hurd-i386 for now, based on a patch by Peter Green (Closes: #658526). * Wrap-and-sort debian/control.full. * Check before moving libraries, when bootstrapping there is nothing to move. * Update debian/control.bootstrap with changes made to debian/control.full. * Add spelling fix for "writting". -- Stephen Kitt Sun, 12 Feb 2012 23:24:00 +0100 gcc-mingw-w64 (2) unstable; urgency=low * Export all relevant flags from dpkg-buildflags; in particular this allows building with a stack-protector-enabling compiler (as on Ubuntu). -- Stephen Kitt Mon, 24 Oct 2011 01:18:56 +0200 gcc-mingw-w64 (1) unstable; urgency=low * Include Ada support (Closes: #632375). Build-depend on gcc-4.6-source 4.6.1-5 or later to get the required upstream fixes. * Stop trying to ship libiberty, upstream no longer supports it (Closes: #634567). * Protect intrinsics in C++ code (Closes: #633552). * Provide shared versions of DLL-compatible libraries (Closes: #625778). The appropriate DLLs may have to be shipped with the resulting binaries, unless static build options are used (-static, -static-libgcc and/or -static-libstdc++). * Re-organise configure flags and update them as used upstream. * Switch to single-number versions and add the gcc-mingw-w64 version to the resulting binary package's version. * Disable hardening with dpkg-dev >= 1.16.1 for now (until the gcc-4.6 package supports it). * Correct uses of "informations" in output code. -- Stephen Kitt Tue, 27 Sep 2011 06:30:03 +0200 gcc-mingw-w64 (0.3) unstable; urgency=low * Ship libiberty (Closes: #626117). * Enable fully dynamic strings (Closes: #626956). * Switch to gcc 4.6. * Install the LTO plugin (Closes: #625901). * Require binutils 2.21.51.20110523 to avoid LTO-related segfaults (see http://sourceware.org/bugzilla/show_bug.cgi?id=12693 for details). * Avoid attempting to build libstdc++-pic.a. * Drop leading "The" from the package description. * Strip the libraries. * Build-depend on libcloog-ppl-dev to enable extra optimisations. * Link with "--as-needed" to limit dependencies to those actually needed. -- Stephen Kitt Tue, 31 May 2011 23:40:07 +0200 gcc-mingw-w64 (0.2) unstable; urgency=low * Allow building on all architectures. * Enable LTO support (Closes: #623711). * Standards-Version 3.9.2, no change required. -- Stephen Kitt Sat, 30 Apr 2011 23:54:55 +0200 gcc-mingw-w64 (0.1) unstable; urgency=low * Initial release (Closes: #602997). -- Stephen Kitt Tue, 16 Nov 2010 12:52:08 +0100 gcc-mingw-w64-12/debian/source/0000755000000000000000000000000011774360172013207 5ustar gcc-mingw-w64-12/debian/source/format0000644000000000000000000000001511773767232014425 0ustar 3.0 (native) gcc-mingw-w64-12/debian/source/lintian-overrides0000644000000000000000000000017211774360172016570 0ustar # debian/watch tracks gcc-4.6-source so we know when to rebuild gcc-mingw-w64 source: debian-watch-file-in-native-package gcc-mingw-w64-12/debian/gnat-mingw-w64-x86-64.install0000644000000000000000000000105612243612465016636 0ustar usr/bin/x86_64-w64-mingw32-gnat usr/bin/x86_64-w64-mingw32-gnatbind usr/bin/x86_64-w64-mingw32-gnatchop usr/bin/x86_64-w64-mingw32-gnatclean usr/bin/x86_64-w64-mingw32-gnatfind usr/bin/x86_64-w64-mingw32-gnatkr usr/bin/x86_64-w64-mingw32-gnatlink usr/bin/x86_64-w64-mingw32-gnatls usr/bin/x86_64-w64-mingw32-gnatmake usr/bin/x86_64-w64-mingw32-gnatname usr/bin/x86_64-w64-mingw32-gnatprep usr/bin/x86_64-w64-mingw32-gnatxref usr/lib/gcc/x86_64-w64-mingw32/4.8/adainclude/* usr/lib/gcc/x86_64-w64-mingw32/4.8/adalib/* usr/lib/gcc/x86_64-w64-mingw32/4.8/gnat1 gcc-mingw-w64-12/debian/README.Debian0000644000000000000000000000166112243763263013754 0ustar 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); * the threading model used is POSIX using MinGW-64's winpthreads library; * exceptions use setjump/longjump ("SJLJ exceptions"); * LTO is supported; * GOMP is enabled; * language front-ends are built for C, C++, Fortran, Ada, Objective-C and Objective-C++. 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 , Sat, 23 Nov 2013 00:14:55 +0100 gcc-mingw-w64-12/debian/compat0000644000000000000000000000000211773767224013115 0ustar 7 gcc-mingw-w64-12/debian/gcc-mingw-w64.postinst0000644000000000000000000000046112215637100015773 0ustar #!/bin/sh set -e # Replace documentation directory with symlink if [ -d /usr/share/doc/gcc-mingw-w64 ] && [ ! -L /usr/share/doc/gcc-mingw-w64 ]; then if rmdir /usr/share/doc/gcc-mingw-w64 2>/dev/null; then ln -sf gcc-mingw-w64-base /usr/share/doc/gcc-mingw-w64 fi fi #DEBHELPER# exit 0 gcc-mingw-w64-12/debian/gcc-mingw-w64-bootstrap.install0000644000000000000000000000003012243612465017571 0ustar usr/bin/* usr/lib/gcc/* gcc-mingw-w64-12/debian/rules0000755000000000000000000002375412262356514013000 0ustar #!/usr/bin/make -f # -*- makefile -*- # Build gcc-mingw-w64 using gcc-4.8-source. # Copyright © 2010-2014 Stephen Kitt # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # 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, see . # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 target_version := 4.8 top_dir := $(shell pwd) gcc_dir := /usr/src/gcc-$(target_version) upstream_dir := $(top_dir)/src build_dir := $(top_dir)/build stampdir := $(top_dir)/stamps source_version := $(shell dpkg-query -W -f="\$${Version}\n" gcc-$(target_version)-source) deb_version := $(source_version)+$(shell dpkg-parsechangelog | sed -ne "s/^Version: \(.*\)/\1/p") deb_upstream_version := $(shell echo $(deb_version) | cut -d- -f1) base_version := $(shell echo $(deb_version) | sed -e 's/\([1-9]\.[0-9]\).*-.*/\1/') derives_from_ubuntu := $(shell (dpkg-vendor --derives-from Ubuntu && echo "yes") || echo "no") # First split version first_split_version := 4.6.3-3+4 ifeq ($(derives_from_ubuntu),yes) first_split_version := 4.6.3-1ubuntu5+5ubuntu1 endif # Include the rules variant - symlink rules.bootstrap to produce the # minimal gcc required to build mingw-w64, or rules.full to produce # the full gcc. include debian/rules.variant targets := i686-w64-mingw32 x86_64-w64-mingw32 # No hardening support for now dpkg_buildflags = DEB_BUILD_MAINT_OPTIONS="hardening=-all" dpkg-buildflags CC = gcc-$(target_version) CXX = g++-$(target_version) CFLAGS = $(shell $(dpkg_buildflags) --get CFLAGS) CFLAGS += -Wall CPPFLAGS = $(shell $(dpkg_buildflags) --get CPPFLAGS) CXXFLAGS = $(shell $(dpkg_buildflags) --get CXXFLAGS) CXXFLAGS += -Wall FFLAGS = $(shell $(dpkg_buildflags) --get FFLAGS) LDFLAGS = $(shell $(dpkg_buildflags) --get LDFLAGS) LDFLAGS += -Wl,--as-needed export CC CXX CFLAGS CPPFLAGS CXXFLAGS FFLAGS LDFLAGS # Number of jobs to run for build ifeq ($(USE_NJOBS),no) NJOBS := USE_CPUS := 1 else # Increase to 192 if building Java MEM_PER_CPU = 128 NUM_CPUS := $(shell if echo $(USE_NJOBS) | grep -q -E '^[0-9]+$$'; \ then echo $(USE_NJOBS); \ else getconf _NPROCESSORS_ONLN 2>/dev/null || echo 1; fi) USE_CPUS := $(shell mt=`awk '/^MemTotal/ { print $$2 }' /proc/meminfo`; \ awk -vn=$(NUM_CPUS) -vmt=$$mt -vm=$(MEM_PER_CPU) \ 'END { mt/=1024; n2 = int(mt/m); print n==1 ? 1 : n2 in DEB_BUILD_OPTIONS (see #209008) ifneq (,$(filter parallel=%,$(subst $(COMMA), ,$(DEB_BUILD_OPTIONS)))) NJOBS := -j $(subst parallel=,,$(filter parallel=%,$(subst $(COMMA), ,$(DEB_BUILD_OPTIONS)))) endif # Patch targets patchdir = $(gcc_dir)/debian/patches series_file = series unpack_stamp = $(stampdir)/unpack patch_stamp = $(stampdir)/patch GFDL_INVARIANT_FREE=yes srcdir=$(upstream_dir) include $(gcc_dir)/debian/rules.patch unpack: $(unpack_stamp) $(unpack_stamp): tar xf $(gcc_dir)/gcc-*.tar.* rm -rf $(upstream_dir) mv gcc-$(deb_upstream_version) $(upstream_dir) # Apply our extra patches here... # We can't use a separate target for this because the patches # need to be applied before gcc-4.8-source's patch -p0 < debian/patches/disable-multilib.patch mkdir -p $(stampdir) touch $@ clean: control dh_testdir dh_testroot rm -rf $(stampdir) $(build_dir) $(upstream_dir) .pc autotools_files series *-stamp dh_clean # Configuration constructed as in the gcc package PF=usr libdir=lib libexecdir=$(PF)/$(libdir) # Standard Debian configuration flags CONFFLAGS = \ --prefix=/$(PF) \ --enable-shared \ --enable-static \ --disable-multilib \ --with-system-zlib \ --libexecdir=/$(libexecdir) \ --without-included-gettext \ --libdir=/$(PF)/$(libdir) \ --enable-libstdcxx-time=yes \ --with-tune=generic # MinGW-w64 flags # version-specific-runtime-libs puts target-specific libraries in # /usr/lib/gcc rather than /usr/$(target) CONFFLAGS += \ --enable-version-specific-runtime-libs \ --enable-threads=posix \ --enable-fully-dynamic-string \ --enable-sjlj-exceptions \ --enable-libgomp # Languages CONFFLAGS += \ --enable-languages=$(languages) # LTO CONFFLAGS += \ --enable-lto \ --with-plugin-ld # Patches applied or unapplied after the upstream sources have been # unpacked and patched using the gcc-4.8-source package's patches mingw-w64-patch: mingw-w64-patch-stamp mingw-w64-patch-stamp: $(patch_stamp) # Remove the patch building libstdc++_pic.a before configuring patch -R -p2 -d$(upstream_dir) < $(gcc_dir)/debian/patches/libstdc++-pic.diff touch $@ configure: configure-stamp configure-stamp: control-stamp mingw-w64-patch-stamp dh_testdir set -e; \ echo ============= Building with the following debian/control ============= cat debian/control echo ====================================================================== for target in $(targets); do \ dh_auto_configure -B$(build_dir)/$$target -D$(upstream_dir) -- \ $(CONFFLAGS) \ --target=$$target \ --with-gxx-include-dir=/$(PF)/include/c++/$(base_version) \ --with-as=/usr/bin/$$target-as \ --with-ld=/usr/bin/$$target-ld; \ done touch $@ build: build-arch build-indep build-arch: build-arch-stamp build-arch-stamp: configure-stamp dh_testdir set -e; \ for target in $(targets); do \ cd $(build_dir)/$$target && $(MAKE) $(NJOBS) $(BUILD_TARGET); \ done touch $@ build-indep: build-indep-stamp build-indep-stamp: touch $@ install-arch: install-arch-stamp install-arch-stamp: build-arch-stamp dh_testdir dh_testroot dh_prep set -e; \ for target in $(targets); do \ cd $(build_dir)/$$target && $(MAKE) DESTDIR=$(top_dir)/debian/tmp $(INSTALL_TARGET); \ done # Remove files which conflict with other packages # gcc-$(target_version)-locales rm -rf $(top_dir)/debian/tmp/usr/share/locale # binutils-dev rm -f $(top_dir)/debian/tmp/usr/lib/libiberty.a # libstdc++6-$(target_version)-dbg (potentially) rm -rf $(top_dir)/debian/tmp/usr/share/gcc-*/python # libstdc++6-$(target_version)-dev ls -1 $(top_dir)/debian/tmp/usr/include/c++/$(base_version)/|grep -v w64-mingw32|xargs -I{} rm -rf $(top_dir)/debian/tmp/usr/include/c++/$(base_version)/{} # -doc packages rm -rf $(top_dir)/debian/tmp/usr/share/info rm -rf $(top_dir)/debian/tmp/usr/share/man/man7 # No need to ship empty manpages rm -rf $(top_dir)/debian/tmp/usr/share/man/man1 # Drop .la files find $(top_dir)/debian/tmp -name \*.la -delete # Move libraries to base directories and add version-specific links if [ "$$(basename debian/tmp/usr/share/gcc-*)" != "gcc-*" ]; then \ for gnu_upstream_version in $$(basename debian/tmp/usr/share/gcc-*|cut -d- -f2); do \ if [ "$$gnu_upstream_version" != "$(base_version)" ]; then \ [ -d $(top_dir)/debian/tmp/usr/include/c++ ] && cd $(top_dir)/debian/tmp/usr/include/c++ && ln -s $(base_version) $$gnu_upstream_version || true; \ for target in $(targets); do \ cd $(top_dir)/debian/tmp/$(PF)/lib/gcc/$$target && \ mv $$gnu_upstream_version $(base_version) && \ ln -s $(base_version) $$gnu_upstream_version; \ done; \ fi; \ done; \ fi # Move misplaced DLLs and libraries for target in $(targets); do \ if [ -f $(top_dir)/debian/tmp/usr/lib/gcc/$$target/lib/*.a ]; then \ mv $(top_dir)/debian/tmp/usr/lib/gcc/$$target/lib/*.a $(top_dir)/debian/tmp/usr/lib/gcc/$$target/$(base_version)/; \ fi; \ if [ -f $(top_dir)/debian/tmp/usr/lib/gcc/$$target/*.dll ]; then \ mv $(top_dir)/debian/tmp/usr/lib/gcc/$$target/*.dll $(top_dir)/debian/tmp/usr/lib/gcc/$$target/$(base_version)/; \ fi; \ done for i in 1 2; do \ find $(top_dir)/debian/tmp/ -type d -empty | while read i; do rmdir $$i; done; \ done touch $@ binary-indep: build-indep dh_testdir dh_testroot dh_installdocs -i --link-doc=gcc-mingw-w64-base dh_installchangelogs -i $(upstream_dir)/ChangeLog dh_lintian -i dh_link -i dh_compress -i dh_fixperms -i dh_installdeb -i dh_gencontrol -i -- -v$(deb_version) -Vlocal:Version=$(deb_upstream_version) -Vgcc:Version=$(source_version) -Vsplit:Version=$(first_split_version) dh_md5sums -i dh_builddeb -i binary-arch: build-arch install-arch dh_testdir dh_testroot dh_install -a --list-missing dh_installdocs -a --link-doc=gcc-mingw-w64-base dh_installman -a dh_installchangelogs -a $(upstream_dir)/ChangeLog # Strip the binaries ifneq (,$(findstring ada,$(languages))) dh_strip -a -Xw64-mingw32/lib -Xw64-mingw32/$(base_version)/lib -Xw64-mingw32/$(base_version)/adalib else dh_strip -a -Xw64-mingw32/lib -Xw64-mingw32/$(base_version)/lib endif # Strip the libraries ifeq (,$(filter nostrip,$(DEB_BUILD_OPTIONS))) find $(top_dir)/debian -type f -name liblto_plugin.so.\*.\*.\* | xargs strip --remove-section=.comment --remove-section=.note --strip-unneeded for target in $(targets); do \ find $(top_dir)/debian -type f -name lib\*.a | grep $$target | xargs -r $$target-strip --strip-unneeded; \ done endif dh_lintian -a dh_link -a dh_compress -a dh_fixperms -a # Fix permissions further ifneq (,$(findstring ada,$(languages))) # *.ali files must be read-only find $(top_dir)/debian -name \*.ali | xargs -r chmod 444 endif # *.dll files shouldn't be executable find $(top_dir)/debian -name \*.dll | xargs -r chmod 644 dh_installdeb -a dh_shlibdeps -a dh_gencontrol -a -- -v$(deb_version) -Vlocal:Version=$(deb_upstream_version) -Vgcc:Version=$(source_version) -Vsplit:Version=$(first_split_version) dh_md5sums -a dh_builddeb -a binary: binary-indep binary-arch .PHONY: binary-indep binary-arch binary clean build-indep build-arch build install-arch configure mingw-w64-patch gcc-mingw-w64-12/debian/gfortran-mingw-w64-x86-64.install0000644000000000000000000000057712243760754017543 0ustar usr/bin/x86_64-w64-mingw32-gfortran usr/lib/gcc/x86_64-w64-mingw32/4.8/f951 usr/lib/gcc/x86_64-w64-mingw32/4.8/finclude/* usr/lib/gcc/x86_64-w64-mingw32/4.8/libgfortran-3.dll usr/lib/gcc/x86_64-w64-mingw32/4.8/libgfortran.a usr/lib/gcc/x86_64-w64-mingw32/4.8/libgfortran.dll.a usr/lib/gcc/x86_64-w64-mingw32/4.8/libgfortran.spec usr/lib/gcc/x86_64-w64-mingw32/4.8/libgfortranbegin.a gcc-mingw-w64-12/debian/rules.bootstrap0000644000000000000000000000037512243611511014771 0ustar # Build the minimal gcc required to build mingw-w64 package := gcc-mingw-w64-bootstrap languages := c,c++ BUILD_TARGET := all-gcc INSTALL_TARGET := install-gcc control: control-stamp control-stamp: cp debian/control.bootstrap debian/control touch $@ gcc-mingw-w64-12/debian/bootstrap0000755000000000000000000000161311774360172013653 0ustar #!/bin/sh # Builds the gcc-mingw-w64-bootstrap package, required to build # mingw-w64. This script is intended to be run from the directory # in which you extracted the source (ie. not run within the debian # directory but from the debian directory's parent). # # By default this will use dpkg-buildpackage but you can specify an # alternate build command on the command line: # ./debian/bootstrap pdebuild # After the build the environment is restored to produce the full # build. # Clean up (required to make sure we don't have anything left over # from the full build). fakeroot debian/rules clean # Set the control file and rules variant up. ln -sf rules.bootstrap debian/rules.variant cp debian/control.bootstrap debian/control # Build. if [ -z "$1" ]; then dpkg-buildpackage else $* fi # Clean up... fakeroot debian/rules clean ln -sf rules.full debian/rules.variant debian/rules control gcc-mingw-w64-12/debian/gcc-mingw-w64-x86-64.install0000644000000000000000000000315412261207135016434 0ustar usr/bin/x86_64-w64-mingw32-cpp usr/bin/x86_64-w64-mingw32-gcc usr/bin/x86_64-w64-mingw32-gcc-4.8 usr/bin/x86_64-w64-mingw32-gcc-ar usr/bin/x86_64-w64-mingw32-gcc-nm usr/bin/x86_64-w64-mingw32-gcc-ranlib usr/bin/x86_64-w64-mingw32-gcov usr/lib/gcc/x86_64-w64-mingw32/4.8/cc1 usr/lib/gcc/x86_64-w64-mingw32/4.8/collect2 usr/lib/gcc/x86_64-w64-mingw32/4.8/crtfastmath.o usr/lib/gcc/x86_64-w64-mingw32/4.8/include-fixed/* usr/lib/gcc/x86_64-w64-mingw32/4.8/include/*.h usr/lib/gcc/x86_64-w64-mingw32/4.8/include/ssp/* usr/lib/gcc/x86_64-w64-mingw32/4.8/install-tools/* usr/lib/gcc/x86_64-w64-mingw32/4.8/libcaf_single.a usr/lib/gcc/x86_64-w64-mingw32/4.8/libgcc.a usr/lib/gcc/x86_64-w64-mingw32/4.8/libgcc_eh.a usr/lib/gcc/x86_64-w64-mingw32/4.8/libgcc_s.a usr/lib/gcc/x86_64-w64-mingw32/4.8/libgcc_s_sjlj-1.dll usr/lib/gcc/x86_64-w64-mingw32/4.8/libgcov.a usr/lib/gcc/x86_64-w64-mingw32/4.8/libgomp.a usr/lib/gcc/x86_64-w64-mingw32/4.8/libgomp-1.dll usr/lib/gcc/x86_64-w64-mingw32/4.8/libgomp.dll.a usr/lib/gcc/x86_64-w64-mingw32/4.8/libgomp.spec usr/lib/gcc/x86_64-w64-mingw32/4.8/liblto_plugin.so usr/lib/gcc/x86_64-w64-mingw32/4.8/liblto_plugin.so.0 usr/lib/gcc/x86_64-w64-mingw32/4.8/liblto_plugin.so.0.0.0 usr/lib/gcc/x86_64-w64-mingw32/4.8/libquadmath-0.dll usr/lib/gcc/x86_64-w64-mingw32/4.8/libquadmath.a usr/lib/gcc/x86_64-w64-mingw32/4.8/libquadmath.dll.a usr/lib/gcc/x86_64-w64-mingw32/4.8/libssp-0.dll usr/lib/gcc/x86_64-w64-mingw32/4.8/libssp.a usr/lib/gcc/x86_64-w64-mingw32/4.8/libssp.dll.a usr/lib/gcc/x86_64-w64-mingw32/4.8/libssp_nonshared.a usr/lib/gcc/x86_64-w64-mingw32/4.8/lto-wrapper usr/lib/gcc/x86_64-w64-mingw32/4.8/lto1 gcc-mingw-w64-12/debian/gobjc++-mingw-w64-i686.install0000644000000000000000000000005412243612465016734 0ustar usr/lib/gcc/i686-w64-mingw32/4.8/cc1objplus gcc-mingw-w64-12/debian/control.template0000644000000000000000000000346512243611743015127 0ustar Package: @@PACKAGE@@-mingw-w64 Architecture: all Depends: @@PACKAGE@@-mingw-w64-i686, @@PACKAGE@@-mingw-w64-x86-64, ${misc:Depends} Recommends: @@RECOMMENDS@@ Built-Using: gcc-4.8 (= ${gcc:Version}) Description: GNU @@LANGUAGE@@ compiler for MinGW-w64 MinGW-w64 provides a development and runtime environment for 32- and 64-bit (x86 and x64) Windows applications using the Windows API and the GNU Compiler Collection (gcc). . This metapackage provides the @@LANGUAGE@@ compiler, supporting cross-compiling to 32- and 64-bit MinGW-w64 targets. Package: @@PACKAGE@@-mingw-w64-i686 Architecture: any Depends: @@DEPENDS32@@, ${misc:Depends}, ${shlibs:Depends} Built-Using: gcc-4.8 (= ${gcc:Version}) Conflicts: @@CONFLICTS32@@ Breaks: @@BREAKS32@@ Replaces: @@REPLACES32@@ Suggests: gcc-4.8-locales (>= ${local:Version}) Description: GNU @@LANGUAGE@@ compiler for MinGW-w64 targeting Win32 MinGW-w64 provides a development and runtime environment for 32- and 64-bit (x86 and x64) Windows applications using the Windows API and the GNU Compiler Collection (gcc). . This package contains the @@LANGUAGE@@ compiler, supporting cross-compiling to 32-bit MinGW-w64 targets. Package: @@PACKAGE@@-mingw-w64-x86-64 Architecture: any Depends: @@DEPENDS64@@, ${misc:Depends}, ${shlibs:Depends} Built-Using: gcc-4.8 (= ${gcc:Version}) Conflicts: @@CONFLICTS64@@ Breaks: @@BREAKS64@@ Replaces: @@REPLACES64@@ Suggests: gcc-4.8-locales (>= ${local:Version}) Description: GNU @@LANGUAGE@@ compiler for MinGW-w64 targeting Win64 MinGW-w64 provides a development and runtime environment for 32- and 64-bit (x86 and x64) Windows applications using the Windows API and the GNU Compiler Collection (gcc). . This package contains the @@LANGUAGE@@ compiler, supporting cross-compiling to 64-bit MinGW-w64 targets. gcc-mingw-w64-12/debian/control.objc.sed0000644000000000000000000000046511774362711015006 0ustar s/@@PACKAGE@@/gobjc/g s/@@LANGUAGE@@/Objective-C/g s/@@DEPENDS32@@/gcc-mingw-w64-i686 (= ${binary:Version})/g s/@@DEPENDS64@@/gcc-mingw-w64-x86-64 (= ${binary:Version})/g s/@@RECOMMENDS@@//g s/@@REPLACES32@@//g s/@@REPLACES64@@//g s/@@CONFLICTS32@@//g s/@@CONFLICTS64@@//g s/@@BREAKS32@@//g s/@@BREAKS64@@//g gcc-mingw-w64-12/debian/g++-mingw-w64-x86-64.install0000644000000000000000000000070212243612504016250 0ustar usr/bin/x86_64-w64-mingw32-c++ usr/bin/x86_64-w64-mingw32-g++ usr/include/c++/4.8/x86_64-w64-mingw32/bits/* usr/include/c++/4.8/x86_64-w64-mingw32/ext/* usr/lib/gcc/x86_64-w64-mingw32/4.8/cc1plus usr/lib/gcc/x86_64-w64-mingw32/4.8/libstdc++-6.dll usr/lib/gcc/x86_64-w64-mingw32/4.8/libstdc++.a usr/lib/gcc/x86_64-w64-mingw32/4.8/libstdc++.dll.a usr/lib/gcc/x86_64-w64-mingw32/4.8/libstdc++.dll.a-gdb.py usr/lib/gcc/x86_64-w64-mingw32/4.8/libsupc++.a gcc-mingw-w64-12/debian/gfortran-mingw-w64-i686.lintian-overrides0000644000000000000000000000031611774360172021340 0ustar # gcc manpages are non-free gfortran-mingw-w64-i686: binary-without-manpage # This isn't a spelling error gfortran-mingw-w64-i686: spelling-error-in-binary usr/lib/gcc/i686-w64-mingw32/4.6/f951 ment meant gcc-mingw-w64-12/debian/gnat-mingw-w64-x86-64.lintian-overrides0000644000000000000000000000152211774360172020627 0ustar # gcc manpages are non-free gnat-mingw-w64-x86-64: binary-without-manpage # These aren't spelling errors gnat-mingw-w64-x86-64: spelling-error-in-binary usr/bin/x86_64-w64-mingw32-gnat ment meant gnat-mingw-w64-x86-64: spelling-error-in-binary usr/bin/x86_64-w64-mingw32-gnat Nam Name gnat-mingw-w64-x86-64: spelling-error-in-binary usr/bin/x86_64-w64-mingw32-gnatclean ment meant gnat-mingw-w64-x86-64: spelling-error-in-binary usr/bin/x86_64-w64-mingw32-gnatclean Nam Name gnat-mingw-w64-x86-64: spelling-error-in-binary usr/bin/x86_64-w64-mingw32-gnatlink nam name gnat-mingw-w64-x86-64: spelling-error-in-binary usr/bin/x86_64-w64-mingw32-gnatmake ment meant gnat-mingw-w64-x86-64: spelling-error-in-binary usr/bin/x86_64-w64-mingw32-gnatmake Nam Name gnat-mingw-w64-x86-64: spelling-error-in-binary usr/bin/x86_64-w64-mingw32-gnatname nam name gcc-mingw-w64-12/debian/gfortran-mingw-w64-i686.install0000644000000000000000000000055712243760734017357 0ustar usr/bin/i686-w64-mingw32-gfortran usr/lib/gcc/i686-w64-mingw32/4.8/f951 usr/lib/gcc/i686-w64-mingw32/4.8/finclude/* usr/lib/gcc/i686-w64-mingw32/4.8/libgfortran-3.dll usr/lib/gcc/i686-w64-mingw32/4.8/libgfortran.a usr/lib/gcc/i686-w64-mingw32/4.8/libgfortran.dll.a usr/lib/gcc/i686-w64-mingw32/4.8/libgfortran.spec usr/lib/gcc/i686-w64-mingw32/4.8/libgfortranbegin.a gcc-mingw-w64-12/debian/control.source0000644000000000000000000000146612262356514014616 0ustar Source: gcc-mingw-w64 Section: devel Priority: extra Maintainer: Stephen Kitt Build-Depends: autotools-dev, binutils-mingw-w64 (>= 2.21.51.20110523), debhelper (>= 7.0.50~), g++-4.8, gcc-4.8-source, libcloog-isl-dev, libelf-dev, libgmp-dev, libmpc-dev (>= 0.8.0), libmpfr-dev (>= 2.3.2), mingw-w64-i686-dev (>= 3.0~svn5915), mingw-w64-x86-64-dev (>= 3.0~svn5915), xz-utils, zlib1g-dev Standards-Version: 3.9.5 Homepage: http://www.gnu.org/software/gcc/ Vcs-Git: git://anonscm.debian.org/collab-maint/gcc-mingw-w64.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/gcc-mingw-w64.git;a=summary gcc-mingw-w64-12/debian/control.bootstrap0000644000000000000000000000232012243612222015307 0ustar Source: gcc-mingw-w64 Section: devel Priority: extra Maintainer: Stephen Kitt Build-Depends: autotools-dev, binutils-mingw-w64 (>= 2.20), debhelper (>= 7.0.50~), gcc-4.8, gcc-4.8-source, libgmp-dev, libmpc-dev (>= 0.8.0), libmpfr-dev (>= 2.3.2), lsb-release, xz-utils, zlib1g-dev Standards-Version: 3.9.4 Homepage: http://www.gnu.org/software/gcc/ Vcs-Git: git://git.debian.org/collab-maint/gcc-mingw-w64.git Vcs-Browser: http://git.debian.org/?p=collab-maint/gcc-mingw-w64.git;a=summary Package: gcc-mingw-w64-bootstrap Architecture: any Depends: binutils-mingw-w64 (>= 2.20), ${misc:Depends}, ${shlibs:Depends} Built-Using: gcc-4.8 (= ${gcc:Version}) Description: GNU Compiler Collection for MinGW-w64 MinGW-w64 provides a development and runtime environment for 32- and 64-bit Windows applications using the GNU Compiler Collection (gcc). . This package contains the GNU Compiler Collection, supporting cross-compiling to 32- and 64-bit MinGW-w64 targets. The bootstrap version of the package contains only the minimal C compiler required to build MinGW-w64.