Blame SPECS/mingw-gcc.spec

229f82
%global __os_install_post /usr/lib/rpm/brp-compress %{nil}
229f82
229f82
# Set this to one when mingw-crt isn't built yet
229f82
%global bootstrap 0
229f82
229f82
# C++11 threads requires winpthreads so this can only be enabled once winpthreads is built
229f82
%if 0%{?fedora} >= 21 || 0%{?rhel} >= 7
229f82
%global enable_winpthreads 1
229f82
%else
229f82
%global enable_winpthreads 0
229f82
%endif
229f82
229f82
# Libgomp requires pthreads-w32 or winpthreads so this can only be
229f82
# enabled once pthreads-w32 or winpthreads is built. If enable_libgomp
229f82
# is set to 1 and enable_winpthreads is set to 0 then pthreads-w32 will
229f82
# be used as pthreads implementation
229f82
%global enable_libgomp 1
229f82
229f82
# Run the testsuite
229f82
%global enable_tests 0
229f82
229f82
# If enabled, build from a snapshot
229f82
#global snapshot_date 20170212
229f82
#global snapshot_rev 245378
229f82
229f82
# When building from a snapshot the name of the source folder is different
229f82
%if 0%{?snapshot_date}
229f82
%global source_folder gcc-7-%{snapshot_date}
229f82
%else
229f82
%global source_folder gcc-%{version}
229f82
%endif
229f82
229f82
Name:           mingw-gcc
229f82
Version:        7.2.0
229f82
Release:        2%{?snapshot_date:.svn.%{snapshot_date}.r%{snapshot_rev}}%{?dist}
229f82
Summary:        MinGW Windows cross-compiler (GCC) for C
229f82
229f82
License:        GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions
229f82
URL:            http://gcc.gnu.org
229f82
%if 0%{?snapshot_date}
229f82
Source0:        ftp://ftp.nluug.nl/mirror/languages/gcc/snapshots/7-%{snapshot_date}/gcc-7-%{snapshot_date}.tar.bz2
229f82
%else
229f82
Source0:        ftp://ftp.gnu.org/gnu/gcc/gcc-%{version}/gcc-%{version}.tar.xz
229f82
%endif
229f82
229f82
BuildRequires:  texinfo
229f82
BuildRequires:  mingw32-filesystem >= 95
229f82
BuildRequires:  mingw64-filesystem >= 95
229f82
BuildRequires:  mingw32-binutils
229f82
BuildRequires:  mingw64-binutils
229f82
BuildRequires:  mingw32-headers
229f82
BuildRequires:  mingw64-headers
229f82
BuildRequires:  gmp-devel
229f82
BuildRequires:  mpfr-devel
229f82
BuildRequires:  libmpc-devel
229f82
BuildRequires:  libgomp
229f82
BuildRequires:  flex
229f82
BuildRequires:  zlib-devel
229f82
%if 0%{?fedora} > 0
229f82
%if 0%{?fedora} >= 21
229f82
BuildRequires:  cloog-devel
229f82
%else
229f82
BuildRequires:  cloog-ppl cloog-ppl-devel
229f82
%endif
229f82
%endif
229f82
%if 0%{bootstrap} == 0
229f82
BuildRequires:  mingw32-crt
229f82
BuildRequires:  mingw64-crt
229f82
%if 0%{enable_winpthreads}
229f82
BuildRequires:  mingw32-winpthreads
229f82
BuildRequires:  mingw64-winpthreads
229f82
%else
229f82
%if 0%{enable_libgomp}
229f82
BuildRequires:  mingw32-pthreads
229f82
BuildRequires:  mingw64-pthreads
229f82
%endif
229f82
%endif
229f82
%if 0%{enable_tests}
229f82
BuildRequires:  wine
229f82
BuildRequires:  autogen
229f82
BuildRequires:  dejagnu
229f82
BuildRequires:  sharutils
229f82
%endif
229f82
%endif
229f82
Provides: bundled(libiberty)
Pablo Greco dc7f61
ExclusiveArch: %{ix86} x86_64 %{arm}
229f82
229f82
%description
229f82
MinGW Windows cross-compiler (GCC) for C.
229f82
229f82
###############################################################################
229f82
# Mingw32
229f82
###############################################################################
229f82
%package -n mingw32-gcc
229f82
Summary:        MinGW Windows cross-compiler (GCC) for C for the win32 target
229f82
Requires:       mingw32-binutils
229f82
Requires:       mingw32-headers
229f82
Requires:       mingw32-cpp
229f82
%if 0%{bootstrap} == 0
229f82
Requires:       mingw32-crt
229f82
%endif
229f82
229f82
# The RPM version used by RHEL6 can't automatically add the
229f82
# correct provides tags during the build so we add these manually
229f82
%if 0%{bootstrap} == 0 && 0%{?rhel} == 6
229f82
Provides:       mingw32(libgcc_s_sjlj-1.dll)
229f82
Provides:       mingw32(libssp-0.dll)
229f82
Provides:       mingw32(libquadmath-0.dll)
229f82
%endif
229f82
229f82
%description -n mingw32-gcc
229f82
MinGW Windows cross-compiler (GCC) for C for the win32 target.
229f82
229f82
%package -n mingw32-cpp
229f82
Summary:        MinGW Windows cross-C Preprocessor for the win32 target
229f82
229f82
# NB: Explicit mingw32-filesystem dependency is REQUIRED here.
229f82
Requires:       mingw32-filesystem >= 95
229f82
229f82
%description -n mingw32-cpp
229f82
MinGW Windows cross-C Preprocessor for the win32 target.
229f82
229f82
%package -n mingw32-gcc-c++
229f82
Summary:        MinGW Windows cross-compiler for C++ for the win32 target
229f82
Requires:       mingw32-gcc = %{version}-%{release}
229f82
229f82
%if 0%{bootstrap} == 0 && 0%{?rhel} == 6
229f82
Provides:       mingw32(libstdc++-6.dll)
229f82
%endif
229f82
229f82
%description -n mingw32-gcc-c++
229f82
MinGW Windows cross-compiler for C++ for the win32 target.
229f82
229f82
%package -n mingw32-gcc-objc
229f82
Summary:        MinGW Windows cross-compiler support for Objective C for the win32 target
229f82
Requires:       mingw32-gcc = %{version}-%{release}
229f82
229f82
%if 0%{bootstrap} == 0 && 0%{?rhel} == 6
229f82
Provides:       mingw32(libobjc-4.dll)
229f82
%endif
229f82
229f82
%description -n mingw32-gcc-objc
229f82
MinGW Windows cross-compiler support for Objective C for the win32 target.
229f82
229f82
%package -n mingw32-gcc-objc++
229f82
Summary:        MinGW Windows cross-compiler support for Objective C++ for the win32 target
229f82
Requires:       mingw32-gcc-c++ = %{version}-%{release}
229f82
Requires:       mingw32-gcc-objc = %{version}-%{release}
229f82
229f82
%description -n mingw32-gcc-objc++
229f82
MinGW Windows cross-compiler support for Objective C++ for the win32 target.
229f82
229f82
%package -n mingw32-gcc-gfortran
229f82
Summary:        MinGW Windows cross-compiler for FORTRAN for the win32 target
229f82
Requires:       mingw32-gcc = %{version}-%{release}
229f82
229f82
%if 0%{bootstrap} == 0 && 0%{?rhel} == 6
229f82
Provides:       mingw32(libgfortran-4.dll)
229f82
Requires:       mingw32(libquadmath-0.dll)
229f82
%endif
229f82
229f82
%description -n mingw32-gcc-gfortran
229f82
MinGW Windows cross-compiler for FORTRAN for the win32 target.
229f82
229f82
%if 0%{enable_libgomp}
229f82
%package -n mingw32-libgomp
229f82
Summary:        GCC OpenMP v3.0 shared support library for the win32 target
229f82
Requires:       mingw32-gcc = %{version}-%{release}
229f82
229f82
%if 0%{?rhel} == 6
229f82
# libgomp dll is linked with pthreads, but since we don't run the
229f82
# automatic dependency scripts, it doesn't get picked up automatically.
229f82
Requires:       mingw32-pthreads
229f82
Provides:       mingw32(libgomp-1.dll)
229f82
%endif
229f82
229f82
%description -n mingw32-libgomp
229f82
This package contains GCC shared support library which is
229f82
needed for OpenMP v3.0 support for the win32 target.
229f82
%endif
229f82
229f82
###############################################################################
229f82
# Mingw64
229f82
###############################################################################
229f82
%package -n mingw64-gcc
229f82
Summary:        MinGW Windows cross-compiler (GCC) for C for the win64 target
229f82
Requires:       mingw64-binutils
229f82
Requires:       mingw64-headers
229f82
Requires:       mingw64-cpp
229f82
%if 0%{bootstrap} == 0
229f82
Requires:       mingw64-crt
229f82
%endif
229f82
229f82
%if 0%{bootstrap} == 0 && 0%{?rhel} == 6
229f82
Provides:       mingw64(libgcc_s_seh-1.dll)
229f82
Provides:       mingw64(libssp-0.dll)
229f82
Provides:       mingw64(libquadmath-0.dll)
229f82
%endif
229f82
229f82
%description -n mingw64-gcc
229f82
MinGW Windows cross-compiler (GCC) for C for the win64 target.
229f82
229f82
%package -n mingw64-cpp
229f82
Summary:        MinGW Windows cross-C Preprocessor for the win64 target.
229f82
229f82
# NB: Explicit mingw64-filesystem dependency is REQUIRED here.
229f82
Requires:       mingw64-filesystem >= 95
229f82
229f82
%description -n mingw64-cpp
229f82
MinGW Windows cross-C Preprocessor for the win64 target
229f82
229f82
%package -n mingw64-gcc-c++
229f82
Summary:        MinGW Windows cross-compiler for C++ for the win64 target
229f82
Requires:       mingw64-gcc = %{version}-%{release}
229f82
229f82
%if 0%{bootstrap} == 0 && 0%{?rhel} == 6
229f82
Provides:       mingw64(libstdc++-6.dll)
229f82
%endif
229f82
229f82
%description -n mingw64-gcc-c++
229f82
MinGW Windows cross-compiler for C++ for the win64 target.
229f82
229f82
%package -n mingw64-gcc-objc
229f82
Summary:        MinGW Windows cross-compiler support for Objective C for the win64 target
229f82
Requires:       mingw64-gcc = %{version}-%{release}
229f82
229f82
%if 0%{bootstrap} == 0 && 0%{?rhel} == 6
229f82
Provides:       mingw64(libobjc-4.dll)
229f82
%endif
229f82
229f82
%description -n mingw64-gcc-objc
229f82
MinGW Windows cross-compiler support for Objective C for the win64 target.
229f82
229f82
%package -n mingw64-gcc-objc++
229f82
Summary:        MinGW Windows cross-compiler support for Objective C++ for the win64 target
229f82
Requires:       mingw64-gcc-c++ = %{version}-%{release}
229f82
Requires:       mingw64-gcc-objc = %{version}-%{release}
229f82
229f82
%description -n mingw64-gcc-objc++
229f82
MinGW Windows cross-compiler support for Objective C++ for the win64 target.
229f82
229f82
%package -n mingw64-gcc-gfortran
229f82
Summary:        MinGW Windows cross-compiler for FORTRAN for the win64 target
229f82
Requires:       mingw64-gcc = %{version}-%{release}
229f82
229f82
%if 0%{bootstrap} == 0 && 0%{?rhel} == 6
229f82
Provides:       mingw64(libgfortran-4.dll)
229f82
Requires:       mingw64(libquadmath-0.dll)
229f82
%endif
229f82
229f82
%description -n mingw64-gcc-gfortran
229f82
MinGW Windows cross-compiler for FORTRAN for the win64 target.
229f82
229f82
%if 0%{enable_libgomp}
229f82
%package -n mingw64-libgomp
229f82
Summary:        GCC OpenMP v3.0 shared support library for the win64 target
229f82
Requires:       mingw64-gcc = %{version}-%{release}
229f82
229f82
%if 0%{bootstrap} == 0 && 0%{?rhel} == 6
229f82
# libgomp dll is linked with pthreads, but since we don't run the
229f82
# automatic dependency scripts, it doesn't get picked up automatically.
229f82
Requires:       mingw64-pthreads
229f82
Provides:       mingw64(libgomp-1.dll)
229f82
%endif
229f82
229f82
%description -n mingw64-libgomp
229f82
This package contains GCC shared support library which is
229f82
needed for OpenMP v3.0 support for the win32 target.
229f82
%endif
229f82
229f82
229f82
%prep
229f82
%setup -q -n %{source_folder}
229f82
echo 'Fedora MinGW %{version}-%{release}' > gcc/DEV-PHASE
229f82
229f82
229f82
%build
229f82
# Default configure arguments
229f82
configure_args="\
229f82
    --prefix=%{_prefix} \
229f82
    --bindir=%{_bindir} \
229f82
    --includedir=%{_includedir} \
229f82
    --mandir=%{_mandir} \
229f82
    --infodir=%{_infodir} \
229f82
    --datadir=%{_datadir} \
229f82
    --build=%_build --host=%_host \
229f82
    --with-gnu-as --with-gnu-ld --verbose \
229f82
    --without-newlib \
229f82
    --disable-multilib \
229f82
    --disable-plugin \
229f82
    --with-system-zlib \
229f82
    --disable-nls --without-included-gettext \
229f82
    --disable-win32-registry \
229f82
    --enable-languages="c,c++,objc,obj-c++,fortran" \
229f82
%if 0%{?fedora} == 22
229f82
    --with-default-libstdcxx-abi=c++98 \
229f82
%endif
229f82
    --with-bugurl=http://bugzilla.redhat.com/bugzilla"
229f82
229f82
# PPL/CLOOG optimalisations are only available on Fedora
229f82
%if 0%{?fedora}
229f82
configure_args="$configure_args --with-cloog"
229f82
%endif
229f82
229f82
# When bootstrapping, disable LTO support as it causes errors while building any binary
229f82
# $ i686-w64-mingw32-gcc -o conftest    conftest.c  >&5
229f82
# i686-w64-mingw32-gcc: fatal error: -fuse-linker-plugin, but liblto_plugin.so not found
229f82
%if 0%{bootstrap}
229f82
configure_args="$configure_args --disable-lto"
229f82
%endif
229f82
229f82
%if 0%{enable_winpthreads}
229f82
configure_args="$configure_args --enable-threads=posix"
229f82
%endif
229f82
229f82
%if 0%{enable_libgomp}
229f82
configure_args="$configure_args --enable-libgomp"
229f82
%endif
229f82
229f82
# The %%configure macro can't be used for out of source builds
229f82
# without overriding other variables and causes unwanted side
229f82
# effects so make sure the right compiler flags are used
229f82
export CC="%{__cc} ${RPM_OPT_FLAGS}"
229f82
229f82
# Win32
229f82
mkdir build_win32
229f82
pushd build_win32
229f82
    ../configure $configure_args --target=%{mingw32_target} --with-sysroot=%{mingw32_sysroot} --with-gxx-include-dir=%{mingw32_includedir}/c++
229f82
popd
229f82
229f82
# Win64
229f82
mkdir build_win64
229f82
pushd build_win64
229f82
    ../configure $configure_args --target=%{mingw64_target} --with-sysroot=%{mingw64_sysroot} --with-gxx-include-dir=%{mingw64_includedir}/c++
229f82
popd
229f82
229f82
# If we're bootstrapping, only build the GCC core
229f82
%if 0%{bootstrap}
229f82
%mingw_make %{?_smp_mflags} all-gcc
229f82
%else
229f82
%mingw_make %{?_smp_mflags} all
229f82
%endif
229f82
229f82
229f82
%if 0%{enable_tests}
229f82
%check
229f82
# Win32
229f82
# Create a seperate wine prefix
229f82
export WINEPREFIX=/tmp/.wine_gcc_testsuite
229f82
rm -rf $WINEPREFIX
229f82
mkdir $WINEPREFIX
229f82
229f82
# The command below will fail, but that's intentional
229f82
# We only have to call a wine binary which triggers
229f82
# the generation and population of a wine prefix
229f82
winecfg || :
229f82
229f82
# Copy the GCC DLL's inside the wine prefix
229f82
SYSTEM32_DIR=$WINEPREFIX/drive_c/windows/syswow64
229f82
if [ ! -d $SYSTEM32_DIR ] ; then
229f82
    SYSTEM32_DIR=$WINEPREFIX/drive_c/windows/system32
229f82
fi
229f82
cp build_win32/i686-w64-mingw32/libquadmath/.libs/libquadmath-0.dll $SYSTEM32_DIR
229f82
cp build_win32/i686-w64-mingw32/libgfortran/.libs/libgfortran-4.dll $SYSTEM32_DIR
229f82
cp build_win32/i686-w64-mingw32/libobjc/.libs/libobjc-4.dll $SYSTEM32_DIR
229f82
cp build_win32/i686-w64-mingw32/libssp/.libs/libssp-0.dll $SYSTEM32_DIR
229f82
cp build_win32/i686-w64-mingw32/libstdc++-v3/src/.libs/libstdc++-6.dll $SYSTEM32_DIR
229f82
cp build_win32/i686-w64-mingw32/libgcc/shlib/libgcc_s_sjlj-1.dll $SYSTEM32_DIR
229f82
%if 0%{enable_libgomp}
229f82
%if 0%{enable_winpthreads}
229f82
cp %{mingw32_bindir}/libwinpthread-1.dll $SYSTEM32_DIR
229f82
%else
229f82
cp %{mingw32_bindir}/pthreadGC2.dll $SYSTEM32_DIR
229f82
%endif
229f82
cp build_win32/i686-w64-mingw32/libgomp/.libs/libgomp-1.dll $SYSTEM32_DIR
229f82
%endif
229f82
229f82
SYSTEM64_DIR=$WINEPREFIX/drive_c/windows/system32
229f82
cp build_win64/x86_64-w64-mingw32/libquadmath/.libs/libquadmath-0.dll $SYSTEM64_DIR
229f82
cp build_win64/x86_64-w64-mingw32/libgfortran/.libs/libgfortran-4.dll $SYSTEM64_DIR
229f82
cp build_win64/x86_64-w64-mingw32/libobjc/.libs/libobjc-4.dll $SYSTEM64_DIR
229f82
cp build_win64/x86_64-w64-mingw32/libssp/.libs/libssp-0.dll $SYSTEM64_DIR
229f82
cp build_win64/x86_64-w64-mingw32/libstdc++-v3/src/.libs/libstdc++-6.dll $SYSTEM64_DIR
229f82
cp build_win64/x86_64-w64-mingw32/libgcc/shlib/libgcc_s_seh-1.dll $SYSTEM64_DIR
229f82
%if 0%{enable_libgomp}
229f82
%if 0%{enable_winpthreads}
229f82
cp %{mingw64_bindir}/libwinpthread-1.dll $SYSTEM64_DIR
229f82
%else
229f82
cp %{mingw64_bindir}/pthreadGC2.dll $SYSTEM64_DIR
229f82
%endif
229f82
cp build_win64/x86_64-w64-mingw32/libgomp/.libs/libgomp-1.dll $SYSTEM64_DIR
229f82
%endif
229f82
229f82
# According to Kai Tietz (of the mingw-w64 project) it's recommended
229f82
# to set the environment variable GCOV_PREFIX_STRIP
229f82
export GCOV_PREFIX_STRIP=1000
229f82
229f82
# Run the testsuite
229f82
# Code taken from the native Fedora GCC package to collect testsuite results
229f82
pushd build_win32
229f82
    make -k check %{?_smp_mflags} || :
229f82
    echo ====================TESTING WIN32=========================
229f82
    ( LC_ALL=C ../contrib/test_summary || : ) 2>&1 | sed -n '/^cat.*EOF/,/^EOF/{/^cat.*EOF/d;/^EOF/d;/^LAST_UPDATED:/d;p;}'
229f82
    echo ====================TESTING WIN32 END=====================
229f82
    mkdir testlogs-%{mingw32_target}-%{version}-%{release}
229f82
    for i in `find . -name \*.log | grep -F testsuite/ | grep -v 'config.log\|acats.*/tests/'`; do
229f82
        ln $i testlogs-%{mingw32_target}-%{version}-%{release}/ || :
229f82
    done
229f82
    tar cf - testlogs-%{mingw32_target}-%{version}-%{release} | bzip2 -9c \
229f82
        | uuencode testlogs-%{mingw32_target}.tar.bz2 || :
229f82
    rm -rf testlogs-%{mingw32_target}-%{version}-%{release}
229f82
popd
229f82
229f82
pushd build_win64
229f82
    make -k check %{?_smp_mflags} || :
229f82
    echo ====================TESTING WIN64=========================
229f82
    ( LC_ALL=C ../contrib/test_summary || : ) 2>&1 | sed -n '/^cat.*EOF/,/^EOF/{/^cat.*EOF/d;/^EOF/d;/^LAST_UPDATED:/d;p;}'
229f82
    echo ====================TESTING WIN64 END=====================
229f82
    mkdir testlogs-%{mingw64_target}-%{version}-%{release}
229f82
    for i in `find . -name \*.log | grep -F testsuite/ | grep -v 'config.log\|acats.*/tests/'`; do
229f82
        ln $i testlogs-%{mingw64_target}-%{version}-%{release}/ || :
229f82
    done
229f82
    tar cf - testlogs-%{mingw64_target}-%{version}-%{release} | bzip2 -9c \
229f82
        | uuencode testlogs-%{mingw64_target}.tar.bz2 || :
229f82
    rm -rf testlogs-%{mingw64_target}-%{version}-%{release}
229f82
popd
229f82
229f82
%endif
229f82
229f82
229f82
%install
229f82
%if 0%{bootstrap}
229f82
%mingw_make DESTDIR=$RPM_BUILD_ROOT install-gcc
229f82
%else
229f82
%mingw_make_install DESTDIR=$RPM_BUILD_ROOT
229f82
%endif
229f82
229f82
# These files conflict with existing installed files.
229f82
rm -rf $RPM_BUILD_ROOT%{_infodir}
229f82
rm -f $RPM_BUILD_ROOT%{_libdir}/libiberty*
229f82
rm -f $RPM_BUILD_ROOT%{_mandir}/man7/*
229f82
rm -rf $RPM_BUILD_ROOT%{_datadir}/gcc-%{version}/python
229f82
229f82
%if 0%{bootstrap} == 0
229f82
# Move the DLL's manually to the correct location
229f82
mkdir -p $RPM_BUILD_ROOT%{mingw32_bindir}
229f82
mv    $RPM_BUILD_ROOT%{_prefix}/%{mingw32_target}/lib/libatomic-1.dll \
229f82
      $RPM_BUILD_ROOT%{_prefix}/%{mingw32_target}/lib/libgcc_s_sjlj-1.dll \
229f82
      $RPM_BUILD_ROOT%{_prefix}/%{mingw32_target}/lib/libssp-0.dll \
229f82
      $RPM_BUILD_ROOT%{_prefix}/%{mingw32_target}/lib/libstdc++-6.dll \
229f82
      $RPM_BUILD_ROOT%{_prefix}/%{mingw32_target}/lib/libobjc-4.dll \
229f82
      $RPM_BUILD_ROOT%{_prefix}/%{mingw32_target}/lib/libgfortran-4.dll \
229f82
      $RPM_BUILD_ROOT%{_prefix}/%{mingw32_target}/lib/libquadmath-0.dll \
229f82
%if 0%{enable_libgomp}
229f82
      $RPM_BUILD_ROOT%{_prefix}/%{mingw32_target}/lib/libgomp-1.dll \
229f82
%endif
229f82
      $RPM_BUILD_ROOT%{mingw32_bindir}
229f82
229f82
mkdir -p $RPM_BUILD_ROOT%{mingw64_bindir}
229f82
mv    $RPM_BUILD_ROOT%{_prefix}/%{mingw64_target}/lib/libatomic-1.dll \
229f82
      $RPM_BUILD_ROOT%{_prefix}/%{mingw64_target}/lib/libgcc_s_seh-1.dll \
229f82
      $RPM_BUILD_ROOT%{_prefix}/%{mingw64_target}/lib/libssp-0.dll \
229f82
      $RPM_BUILD_ROOT%{_prefix}/%{mingw64_target}/lib/libstdc++-6.dll \
229f82
      $RPM_BUILD_ROOT%{_prefix}/%{mingw64_target}/lib/libobjc-4.dll \
229f82
      $RPM_BUILD_ROOT%{_prefix}/%{mingw64_target}/lib/libgfortran-4.dll \
229f82
      $RPM_BUILD_ROOT%{_prefix}/%{mingw64_target}/lib/libquadmath-0.dll \
229f82
%if 0%{enable_libgomp}
229f82
      $RPM_BUILD_ROOT%{_prefix}/%{mingw64_target}/lib/libgomp-1.dll \
229f82
%endif
229f82
      $RPM_BUILD_ROOT%{mingw64_bindir}
229f82
229f82
# Various import libraries are placed in the wrong folder
229f82
mkdir -p $RPM_BUILD_ROOT%{mingw32_libdir}
229f82
mkdir -p $RPM_BUILD_ROOT%{mingw64_libdir}
229f82
mv $RPM_BUILD_ROOT%{_prefix}/%{mingw32_target}/lib/* $RPM_BUILD_ROOT%{mingw32_libdir}
229f82
mv $RPM_BUILD_ROOT%{_prefix}/%{mingw64_target}/lib/* $RPM_BUILD_ROOT%{mingw64_libdir}
229f82
229f82
# Don't want the *.la files.
229f82
find $RPM_BUILD_ROOT -name '*.la' -delete
229f82
229f82
%endif
229f82
229f82
# For some reason there are wrapper libraries created named $target-$target-gcc-$tool
229f82
# Drop those files for now as this looks like a bug in GCC
229f82
rm -f $RPM_BUILD_ROOT%{_bindir}/%{mingw32_target}-%{mingw32_target}-*
229f82
rm -f $RPM_BUILD_ROOT%{_bindir}/%{mingw64_target}-%{mingw64_target}-*
229f82
229f82
229f82
%files -n mingw32-gcc
229f82
%{_bindir}/%{mingw32_target}-gcc
229f82
%{_bindir}/%{mingw32_target}-gcc-%{version}
229f82
%{_bindir}/%{mingw32_target}-gcc-ar
229f82
%{_bindir}/%{mingw32_target}-gcc-nm
229f82
%{_bindir}/%{mingw32_target}-gcc-ranlib
229f82
%{_bindir}/%{mingw32_target}-gcov
229f82
%{_bindir}/%{mingw32_target}-gcov-dump
229f82
%{_bindir}/%{mingw32_target}-gcov-tool
229f82
%dir %{_prefix}/lib/gcc/%{mingw32_target}/%{version}
229f82
%dir %{_prefix}/lib/gcc/%{mingw32_target}/%{version}/include-fixed
229f82
%dir %{_prefix}/lib/gcc/%{mingw32_target}/%{version}/include
229f82
%dir %{_prefix}/lib/gcc/%{mingw32_target}/%{version}/install-tools
229f82
%{_prefix}/lib/gcc/%{mingw32_target}/%{version}/include-fixed/README
229f82
%{_prefix}/lib/gcc/%{mingw32_target}/%{version}/include-fixed/*.h
229f82
%{_prefix}/lib/gcc/%{mingw32_target}/%{version}/include/*.h
229f82
%{_prefix}/lib/gcc/%{mingw32_target}/%{version}/install-tools/*
229f82
%{_libexecdir}/gcc/%{mingw32_target}/%{version}/collect2
229f82
%{_libexecdir}/gcc/%{mingw32_target}/%{version}/lto-wrapper
229f82
%{_libexecdir}/gcc/%{mingw32_target}/%{version}/install-tools
229f82
%{_mandir}/man1/%{mingw32_target}-gcc.1*
229f82
%{_mandir}/man1/%{mingw32_target}-gcov.1*
229f82
%{_mandir}/man1/%{mingw32_target}-gcov-dump.1*
229f82
%{_mandir}/man1/%{mingw32_target}-gcov-tool.1*
229f82
229f82
# Non-bootstrap files
229f82
%if 0%{bootstrap} == 0
229f82
%{mingw32_bindir}/libatomic-1.dll
229f82
%{mingw32_bindir}/libgcc_s_sjlj-1.dll
229f82
%{mingw32_bindir}/libssp-0.dll
229f82
%{mingw32_libdir}/libatomic.a
229f82
%{mingw32_libdir}/libatomic.dll.a
229f82
%{mingw32_libdir}/libgcc_s.a
229f82
%{mingw32_libdir}/libssp.a
229f82
%{mingw32_libdir}/libssp.dll.a
229f82
%{mingw32_libdir}/libssp_nonshared.a
229f82
%{_prefix}/lib/gcc/%{mingw32_target}/%{version}/crtbegin.o
229f82
%{_prefix}/lib/gcc/%{mingw32_target}/%{version}/crtend.o
229f82
%{_prefix}/lib/gcc/%{mingw32_target}/%{version}/crtfastmath.o
229f82
%{_prefix}/lib/gcc/%{mingw32_target}/%{version}/libgcc.a
229f82
%{_prefix}/lib/gcc/%{mingw32_target}/%{version}/libgcc_eh.a
229f82
%{_prefix}/lib/gcc/%{mingw32_target}/%{version}/libgcov.a
229f82
%dir %{_prefix}/lib/gcc/%{mingw32_target}/%{version}/include/ssp
229f82
%{_prefix}/lib/gcc/%{mingw32_target}/%{version}/include/ssp/*.h
229f82
%{_libexecdir}/gcc/%{mingw32_target}/%{version}/lto1
229f82
%{_libexecdir}/gcc/%{mingw32_target}/%{version}/liblto_plugin.so
229f82
%{_libexecdir}/gcc/%{mingw32_target}/%{version}/liblto_plugin.so.0
229f82
%{_libexecdir}/gcc/%{mingw32_target}/%{version}/liblto_plugin.so.0.0.0
229f82
%endif
229f82
229f82
%files -n mingw64-gcc
229f82
%{_bindir}/%{mingw64_target}-gcc
229f82
%{_bindir}/%{mingw64_target}-gcc-%{version}
229f82
%{_bindir}/%{mingw64_target}-gcc-ar
229f82
%{_bindir}/%{mingw64_target}-gcc-nm
229f82
%{_bindir}/%{mingw64_target}-gcc-ranlib
229f82
%{_bindir}/%{mingw64_target}-gcov
229f82
%{_bindir}/%{mingw64_target}-gcov-dump
229f82
%{_bindir}/%{mingw64_target}-gcov-tool
229f82
%dir %{_prefix}/lib/gcc/%{mingw64_target}/%{version}
229f82
%dir %{_prefix}/lib/gcc/%{mingw64_target}/%{version}/include-fixed
229f82
%dir %{_prefix}/lib/gcc/%{mingw64_target}/%{version}/include
229f82
%dir %{_prefix}/lib/gcc/%{mingw64_target}/%{version}/install-tools
229f82
%{_prefix}/lib/gcc/%{mingw64_target}/%{version}/include-fixed/README
229f82
%{_prefix}/lib/gcc/%{mingw64_target}/%{version}/include-fixed/*.h
229f82
%{_prefix}/lib/gcc/%{mingw64_target}/%{version}/include/*.h
229f82
%{_prefix}/lib/gcc/%{mingw64_target}/%{version}/install-tools/*
229f82
%{_libexecdir}/gcc/%{mingw64_target}/%{version}/collect2
229f82
%{_libexecdir}/gcc/%{mingw64_target}/%{version}/lto-wrapper
229f82
%{_libexecdir}/gcc/%{mingw64_target}/%{version}/install-tools
229f82
%{_mandir}/man1/%{mingw64_target}-gcc.1*
229f82
%{_mandir}/man1/%{mingw64_target}-gcov.1*
229f82
%{_mandir}/man1/%{mingw64_target}-gcov-dump.1*
229f82
%{_mandir}/man1/%{mingw64_target}-gcov-tool.1*
229f82
229f82
# Non-bootstrap files
229f82
%if 0%{bootstrap} == 0
229f82
%{mingw64_bindir}/libatomic-1.dll
229f82
%{mingw64_bindir}/libgcc_s_seh-1.dll
229f82
%{mingw64_bindir}/libssp-0.dll
229f82
%{mingw64_libdir}/libatomic.a
229f82
%{mingw64_libdir}/libatomic.dll.a
229f82
%{mingw64_libdir}/libgcc_s.a
229f82
%{mingw64_libdir}/libssp.a
229f82
%{mingw64_libdir}/libssp.dll.a
229f82
%{mingw64_libdir}/libssp_nonshared.a
229f82
%{_prefix}/lib/gcc/%{mingw64_target}/%{version}/crtbegin.o
229f82
%{_prefix}/lib/gcc/%{mingw64_target}/%{version}/crtend.o
229f82
%{_prefix}/lib/gcc/%{mingw64_target}/%{version}/crtfastmath.o
229f82
%{_prefix}/lib/gcc/%{mingw64_target}/%{version}/libgcc.a
229f82
%{_prefix}/lib/gcc/%{mingw64_target}/%{version}/libgcc_eh.a
229f82
%{_prefix}/lib/gcc/%{mingw64_target}/%{version}/libgcov.a
229f82
%dir %{_prefix}/lib/gcc/%{mingw64_target}/%{version}/include/ssp
229f82
%{_prefix}/lib/gcc/%{mingw64_target}/%{version}/include/ssp/*.h
229f82
%{_libexecdir}/gcc/%{mingw64_target}/%{version}/lto1
229f82
%{_libexecdir}/gcc/%{mingw64_target}/%{version}/liblto_plugin.so
229f82
%{_libexecdir}/gcc/%{mingw64_target}/%{version}/liblto_plugin.so.0
229f82
%{_libexecdir}/gcc/%{mingw64_target}/%{version}/liblto_plugin.so.0.0.0
229f82
%endif
229f82
229f82
%files -n mingw32-cpp
229f82
%{_bindir}/%{mingw32_target}-cpp
229f82
%{_mandir}/man1/%{mingw32_target}-cpp.1*
229f82
%dir %{_prefix}/lib/gcc/%{mingw32_target}
229f82
%dir %{_prefix}/lib/gcc/%{mingw32_target}/%{version}
229f82
%dir %{_libexecdir}/gcc/%{mingw32_target}/%{version}
229f82
%dir %{_libexecdir}/gcc/%{mingw32_target}
229f82
%{_libexecdir}/gcc/%{mingw32_target}/%{version}/cc1
229f82
229f82
%files -n mingw64-cpp
229f82
%{_bindir}/%{mingw64_target}-cpp
229f82
%{_mandir}/man1/%{mingw64_target}-cpp.1*
229f82
%dir %{_prefix}/lib/gcc/%{mingw64_target}
229f82
%dir %{_prefix}/lib/gcc/%{mingw64_target}/%{version}
229f82
%dir %{_libexecdir}/gcc/%{mingw64_target}/%{version}
229f82
%dir %{_libexecdir}/gcc/%{mingw64_target}
229f82
%{_libexecdir}/gcc/%{mingw64_target}/%{version}/cc1
229f82
229f82
%files -n mingw32-gcc-c++
229f82
%{_bindir}/%{mingw32_target}-g++
229f82
%{_bindir}/%{mingw32_target}-c++
229f82
%{_mandir}/man1/%{mingw32_target}-g++.1*
229f82
%{_libexecdir}/gcc/%{mingw32_target}/%{version}/cc1plus
229f82
229f82
# Non-bootstrap files
229f82
%if 0%{bootstrap} == 0
229f82
%{mingw32_includedir}/c++/
229f82
%{mingw32_bindir}/libstdc++-6.dll
229f82
%{mingw32_libdir}/libstdc++.a
229f82
%{mingw32_libdir}/libstdc++.dll.a
229f82
%{mingw32_libdir}/libstdc++.dll.a-gdb.py
229f82
%{mingw32_libdir}/libsupc++.a
229f82
%endif
229f82
229f82
%files -n mingw64-gcc-c++
229f82
%{_bindir}/%{mingw64_target}-g++
229f82
%{_bindir}/%{mingw64_target}-c++
229f82
%{_mandir}/man1/%{mingw64_target}-g++.1*
229f82
%{_libexecdir}/gcc/%{mingw64_target}/%{version}/cc1plus
229f82
229f82
# Non-bootstrap files
229f82
%if 0%{bootstrap} == 0
229f82
%{mingw64_includedir}/c++/
229f82
%{mingw64_bindir}/libstdc++-6.dll
229f82
%{mingw64_libdir}/libstdc++.a
229f82
%{mingw64_libdir}/libstdc++.dll.a
229f82
%{mingw64_libdir}/libstdc++.dll.a-gdb.py
229f82
%{mingw64_libdir}/libsupc++.a
229f82
%endif
229f82
229f82
%files -n mingw32-gcc-objc
229f82
%{_libexecdir}/gcc/%{mingw32_target}/%{version}/cc1obj
229f82
%if 0%{bootstrap} == 0
229f82
%{_prefix}/lib/gcc/%{mingw32_target}/%{version}/include/objc/
229f82
%{mingw32_bindir}/libobjc-4.dll
229f82
%{mingw32_libdir}/libobjc.a
229f82
%{mingw32_libdir}/libobjc.dll.a
229f82
%endif
229f82
229f82
%files -n mingw64-gcc-objc
229f82
%{_libexecdir}/gcc/%{mingw64_target}/%{version}/cc1obj
229f82
%if 0%{bootstrap} == 0
229f82
%{_prefix}/lib/gcc/%{mingw64_target}/%{version}/include/objc/
229f82
%{mingw64_bindir}/libobjc-4.dll
229f82
%{mingw64_libdir}/libobjc.a
229f82
%{mingw64_libdir}/libobjc.dll.a
229f82
%endif
229f82
229f82
%files -n mingw32-gcc-objc++
229f82
%{_libexecdir}/gcc/%{mingw32_target}/%{version}/cc1objplus
229f82
229f82
%files -n mingw64-gcc-objc++
229f82
%{_libexecdir}/gcc/%{mingw64_target}/%{version}/cc1objplus
229f82
229f82
%files -n mingw32-gcc-gfortran
229f82
%{_bindir}/%{mingw32_target}-gfortran
229f82
%{_mandir}/man1/%{mingw32_target}-gfortran.1*
229f82
%{_libexecdir}/gcc/%{mingw32_target}/%{version}/f951
229f82
%if 0%{bootstrap} == 0
229f82
%{mingw32_bindir}/libgfortran-4.dll
229f82
%{mingw32_bindir}/libquadmath-0.dll
229f82
%{mingw32_libdir}/libgfortran.a
229f82
%{mingw32_libdir}/libgfortran.dll.a
229f82
%{mingw32_libdir}/libgfortran.spec
229f82
%{mingw32_libdir}/libquadmath.a
229f82
%{mingw32_libdir}/libquadmath.dll.a
229f82
%{_prefix}/lib/gcc/%{mingw32_target}/%{version}/libcaf_single.a
229f82
%if 0%{enable_libgomp}
229f82
%{_prefix}/lib/gcc/%{mingw32_target}/%{version}/finclude
229f82
%endif
229f82
%endif
229f82
229f82
%files -n mingw64-gcc-gfortran
229f82
%{_bindir}/%{mingw64_target}-gfortran
229f82
%{_mandir}/man1/%{mingw64_target}-gfortran.1*
229f82
%{_libexecdir}/gcc/%{mingw64_target}/%{version}/f951
229f82
%if 0%{bootstrap} == 0
229f82
%{mingw64_bindir}/libgfortran-4.dll
229f82
%{mingw64_bindir}/libquadmath-0.dll
229f82
%{mingw64_libdir}/libgfortran.a
229f82
%{mingw64_libdir}/libgfortran.dll.a
229f82
%{mingw64_libdir}/libgfortran.spec
229f82
%{mingw64_libdir}/libquadmath.a
229f82
%{mingw64_libdir}/libquadmath.dll.a
229f82
%{_prefix}/lib/gcc/%{mingw64_target}/%{version}/libcaf_single.a
229f82
%if 0%{enable_libgomp}
229f82
%{_prefix}/lib/gcc/%{mingw64_target}/%{version}/finclude
229f82
%endif
229f82
%endif
229f82
229f82
%if 0%{enable_libgomp}
229f82
%files -n mingw32-libgomp
229f82
%{mingw32_bindir}/libgomp-1.dll
229f82
%{mingw32_libdir}/libgomp.a
229f82
%{mingw32_libdir}/libgomp.dll.a
229f82
%{mingw32_libdir}/libgomp.spec
229f82
229f82
%files -n mingw64-libgomp
229f82
%{mingw64_bindir}/libgomp-1.dll
229f82
%{mingw64_libdir}/libgomp.a
229f82
%{mingw64_libdir}/libgomp.dll.a
229f82
%{mingw64_libdir}/libgomp.spec
229f82
%endif
229f82
229f82
229f82
%changelog
Pablo Greco dc7f61
* Thu May 23 2019 Pablo Greco <pablo@centosproject.org> - 7.2.0-2
Pablo Greco dc7f61
- Fix build on armhfp
Pablo Greco dc7f61
229f82
* Wed Aug 08 2018 Troy Dawson <tdawson@redhat.com> - 7.2.0-2
229f82
- ExclusiveArch: i686, x86_64
229f82
- Resolves: rhbz#1610008
229f82
229f82
* Tue Aug 22 2017 Kalev Lember <klember@redhat.com> - 7.2.0-1
229f82
- Update to 7.2.0
229f82
229f82
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 7.1.0-3
229f82
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
229f82
229f82
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 7.1.0-2
229f82
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
229f82
229f82
* Wed May 17 2017 Kalev Lember <klember@redhat.com> - 7.1.0-1
229f82
- Update to 7.1.0
229f82
229f82
* Mon Feb 13 2017 Kalev Lember <klember@redhat.com> - 7.0.1-0.1.svn.20170212.r245378
229f82
- Update to gcc 7 20170212 snapshot (rev 245378)
229f82
229f82
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 6.3.0-2
229f82
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
229f82
229f82
* Thu Dec 29 2016 Kalev Lember <klember@redhat.com> - 6.3.0-1
229f82
- Update to 6.3.0
229f82
229f82
* Tue Aug 23 2016 Kalev Lember <klember@redhat.com> - 6.2.0-1
229f82
- Update to 6.2.0
229f82
229f82
* Wed May 04 2016 Kalev Lember <klember@redhat.com> - 6.1.0-1
229f82
- Update to 6.1.0
229f82
229f82
* Sun Mar 27 2016 Erik van Pienbroek <epienbro@fedoraproject.org> - 6.0.0-0.2.svn.20160320.r234355
229f82
- Update to gcc 6 20160320 snapshot (rev 234355)
229f82
229f82
* Thu Feb  4 2016 Erik van Pienbroek <epienbro@fedoraproject.org> - 6.0.0-0.1.svn.20160131.r233023
229f82
- Update to gcc 6 20160131 snapshot (rev 233023)
229f82
229f82
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 5.3.0-2
229f82
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
229f82
229f82
* Tue Dec 08 2015 Kalev Lember <klember@redhat.com> - 5.3.0-1
229f82
- Update to 5.3.0
229f82
229f82
* Wed Aug  5 2015 Erik van Pienbroek <epienbro@fedoraproject.org> - 5.2.0-1
229f82
- Update to 5.2.0
229f82
229f82
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.1.0-3
229f82
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
229f82
229f82
* Thu Jun 11 2015 Erik van Pienbroek <epienbro@fedoraproject.org> - 5.1.0-2
229f82
- Export additional symbols needed to resolve boost build failure with GCC 5
229f82
- Resolves RHBZ #1218290, GCC #66030
229f82
229f82
* Fri Apr 24 2015 Erik van Pienbroek <epienbro@fedoraproject.org> - 5.1.0-1
229f82
- Update to 5.1.0
229f82
229f82
* Sat Apr 11 2015 Erik van Pienbroek <epienbro@fedoraproject.org> - 5.0.0-0.4.svn.20150405.r221873
229f82
- Switch back to the old libstdcxx c++98 ABI on Fedora 22 only
229f82
  (This was also done for the native Fedora GCC package)
229f82
229f82
* Fri Apr 10 2015 Erik van Pienbroek <epienbro@fedoraproject.org> - 5.0.0-0.3.svn.20150405.r221873
229f82
- Update to gcc 5 20150405 snapshot (rev 221873)
229f82
229f82
* Mon Mar 23 2015 Erik van Pienbroek <epienbro@fedoraproject.org> - 5.0.0-0.2.svn.20150322.r221575
229f82
- Update to gcc 5 20150322 snapshot (rev 221575)
229f82
229f82
* Sat Mar  7 2015 Erik van Pienbroek <epienbro@fedoraproject.org> - 5.0.0-0.1.svn.20150301.r221092
229f82
- Update to gcc 5 20150301 snapshot (rev 221092)
229f82
229f82
* Thu Jan 29 2015 Erik van Pienbroek <epienbro@fedoraproject.org> - 4.9.2-2
229f82
- The package cloog-ppl-devel was renamed to cloog-devel in rawhide
229f82
229f82
* Wed Dec  3 2014 Erik van Pienbroek <epienbro@fedoraproject.org> - 4.9.2-1
229f82
- Update to 4.9.2
229f82
229f82
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.9.1-4
229f82
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
229f82
229f82
* Wed Jul 30 2014 Erik van Pienbroek <epienbro@fedoraproject.org> - 4.9.1-3
229f82
- Use /usr/lib instead of %%{_libdir} (like also is done in
229f82
  the native gcc and cross-gcc packages)
229f82
229f82
* Mon Jul 28 2014 Erik van Pienbroek <epienbro@fedoraproject.org> - 4.9.1-2
229f82
- Really enable std::threads support
229f82
229f82
* Fri Jul 18 2014 Erik van Pienbroek <epienbro@fedoraproject.org> - 4.9.1-1
229f82
- Update to gcc 4.9.1
229f82
229f82
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.9.0-2
229f82
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
229f82
229f82
* Wed Apr 23 2014 Erik van Pienbroek <epienbro@fedoraproject.org> - 4.9.0-1
229f82
- Update to gcc 4.9.0
229f82
229f82
* Sun Apr 13 2014 Erik van Pienbroek <epienbro@fedoraproject.org> - 4.9.0-0.1.rc1
229f82
- Update to gcc 4.9.0 RC1
229f82
229f82
* Fri Jan 10 2014 Erik van Pienbroek <epienbro@fedoraproject.org> - 4.8.2-2
229f82
- Dropped xmmintrin patch as the issue is resolved in mingw-w64 3.1.0
229f82
229f82
* Sat Oct 19 2013 Erik van Pienbroek <epienbro@fedoraproject.org> - 4.8.2-1
229f82
- Update to 4.8.2
229f82
- Build with C++11 std::thread support (F21+ only)
229f82
229f82
* Fri Sep 20 2013 Erik van Pienbroek <epienbro@fedoraproject.org> - 4.8.1-4
229f82
- Rebuild against winpthreads
229f82
229f82
* Sat Aug  3 2013 Erik van Pienbroek <epienbro@fedoraproject.org> - 4.8.1-3
229f82
- Own the folders %%{_libexecdir}/gcc/%%{mingw32_target}/%%{version},
229f82
  %%{_libexecdir}/gcc/%%{mingw32_target}, %%{_libexecdir}/gcc/%%{mingw64_target}
229f82
  and %%{_libexecdir}/gcc/%%{mingw64_target}/%%{version}
229f82
229f82
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.8.1-2
229f82
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
229f82
229f82
* Sat Jun 15 2013 Erik van Pienbroek <epienbro@fedoraproject.org> - 4.8.1-1
229f82
- Update to 4.8.1
229f82
229f82
* Sat Jun  1 2013 Erik van Pienbroek <epienbro@fedoraproject.org> - 4.8.0-4
229f82
- Revised patch for GCC bug #56742
229f82
229f82
* Sun Apr 14 2013 Nicola Fontana <ntd@entidi.it> - 4.8.0-3
229f82
- Dropped dependency on PPL (#951914)
229f82
229f82
* Sun Apr 14 2013 Erik van Pienbroek <epienbro@fedoraproject.org> - 4.8.0-2
229f82
- Fix optimization bug which can lead to uncaught throw (SEH related) (GCC bug #56742)
229f82
229f82
* Sat Mar 23 2013 Erik van Pienbroek <epienbro@fedoraproject.org> - 4.8.0-1
229f82
- Update to gcc 4.8.0 final
229f82
229f82
* Mon Mar 11 2013 Erik van Pienbroek <epienbro@fedoraproject.org> - 4.8.0-0.6.svn.20130310.r196584
229f82
- Update to gcc 4.8 20130310 snapshot (rev 196584)
229f82
229f82
* Fri Feb  8 2013 Erik van Pienbroek <epienbro@fedoraproject.org> - 4.8.0-0.5.svn.20130203.r195703
229f82
- Update to gcc 4.8 20130203 snapshot (rev 195703)
229f82
229f82
* Sun Jan 27 2013 Erik van Pienbroek <epienbro@fedoraproject.org> - 4.8.0-0.4.svn.20130120.r195326
229f82
- Update to gcc 4.8 20130120 snapshot (rev 195326)
229f82
229f82
* Fri Jan 18 2013 Erik van Pienbroek <epienbro@fedoraproject.org> - 4.8.0-0.3.svn.20130113.r195137
229f82
- Make sure the header xmmintrin.h is C++ compatible. Fixes build
229f82
  failure in the mingw-qt5-qtbase package
229f82
229f82
* Wed Jan 16 2013 Erik van Pienbroek <epienbro@fedoraproject.org> - 4.8.0-0.2.svn.20130113.r195137
229f82
- Update to gcc 4.8 20130113 snapshot (rev 195137)
229f82
229f82
* Sat Jan 12 2013 Erik van Pienbroek <epienbro@fedoraproject.org> - 4.8.0-0.1.svn.20130106.r194954
229f82
- Update to gcc 4.8 20130106 snapshot (rev 194954)
229f82
- The win64 compiler now uses SEH by default
229f82
229f82
* Wed Jan  2 2013 Erik van Pienbroek <epienbro@fedoraproject.org> - 4.7.2-7
229f82
- Backported imported fix regarding virtual thunks as recommended
229f82
  by upstream mingw-w64 developers (gcc bug #55171)
229f82
229f82
* Tue Dec 04 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 4.7.2-6
229f82
- Re-enable libgomp support
229f82
229f82
* Mon Dec 03 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 4.7.2-5
229f82
- Temporary build without libgomp support because of the broken circular
229f82
  dependency between mingw-gcc and mingw-pthreads which was caused by the
229f82
  latest PPL update
229f82
229f82
* Mon Dec 03 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 4.7.2-4
229f82
- Made this package compatible with RHEL6 and RHEL7
229f82
- Build with --disable-ppl-version-check (fixes FTBFS against latest PPL)
229f82
229f82
* Fri Nov 30 2012 Tom Callaway <spot@fedoraproject.org> - 4.7.2-3
229f82
- rebuild for new ppl/cloog
229f82
229f82
* Mon Oct 15 2012 Jon Ciesla <limbugher@gmail.com> - 4.7.2-2
229f82
- Provides: bundled(libiberty)
229f82
229f82
* Fri Sep 21 2012 Kalev Lember <kalevlember@gmail.com> - 4.7.2-1
229f82
- Update to 4.7.2
229f82
229f82
* Sat Jul 21 2012 Kalev Lember <kalevlember@gmail.com> - 4.7.1-3
229f82
- Revert back to 4.7.1 final
229f82
229f82
* Wed Jul 18 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 4.7.1-2.20120718
229f82
- Update to gcc 4.7 20120718 snapshot
229f82
229f82
* Sun Jul 15 2012 Kalev Lember <kalevlember@gmail.com> - 4.7.1-1
229f82
- Update to 4.7.1
229f82
229f82
* Wed Apr 04 2012 Kalev Lember <kalevlember@gmail.com> - 4.7.0-2
229f82
- Fix the build
229f82
- Switch to the release tarball
229f82
- Disable the testsuite again to avoid breaking build on arches where
229f82
  wine is unavailable
229f82
229f82
* Wed Mar 28 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 4.7.0-1.20120322
229f82
- Update to gcc 4.7.0 final release (20120322 snapshot)
229f82
- Dropped upstreamed patches
229f82
- Enable the testsuite
229f82
229f82
* Tue Mar  6 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 4.7.0-0.9.20120224
229f82
- Re-enable libgomp support
229f82
229f82
* Tue Mar  6 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 4.7.0-0.8.20120224
229f82
- Perform a regular build
229f82
229f82
* Tue Mar  6 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 4.7.0-0.7.20120224
229f82
- Added support for both win32 and win64 targets
229f82
- Perform a bootstrap build
229f82
- Split out the OpenMP pieces to mingw{32,64}-libgomp packages to avoid
229f82
  forced dependency on mingw{32,64}-pthreads
229f82
- Added support for running the testsuite for both win32 and win64 targets
229f82
- Added a %%global called enable_winpthreads which can be used to enable
229f82
  C++11 threads support (requires winpthreads instead of pthreads-w32)
229f82
229f82
* Tue Mar 06 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 4.7.0-0.6.20120224
229f82
- Renamed the source package to mingw-gcc (RHBZ #673788)
229f82
- Use mingw macros without leading underscore
229f82
229f82
* Mon Feb 27 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 4.7.0-0.5.20120224
229f82
- Re-enable libgomp support
229f82
229f82
* Mon Feb 27 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 4.7.0-0.4.20120224
229f82
- Perform a regular build
229f82
229f82
* Sat Feb 25 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 4.7.0-0.3.20120224
229f82
- Update to gcc 4.7 20120224 snapshot
229f82
- Perform a bootstrap build using mingw-w64
229f82
- Dropped the /lib/i686-pc-mingw32-cpp symlink
229f82
- Dropped the float.h patch as it isn't needed anymore with mingw-w64
229f82
- Added some patches which upstream mingw-w64 recommends us to apply
229f82
229f82
* Fri Jan 27 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 4.7.0-0.2.20120126
229f82
- Update to gcc 4.7 20120126 snapshot (fixes mingw32-qt build failure)
229f82
229f82
* Tue Jan 10 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 4.7.0-0.1.20120106
229f82
- Update to gcc 4.7 20120106 snapshot
229f82
229f82
* Wed Oct 26 2011 Marcela Mašláňová <mmaslano@redhat.com> - 4.6.1-3.2
229f82
- rebuild with new gmp without compat lib
229f82
229f82
* Wed Oct 12 2011 Peter Schiffer <pschiffe@redhat.com> - 4.6.1-3.1
229f82
- rebuild with new gmp
229f82
229f82
* Fri Aug 26 2011 Kalev Lember <kalevlember@gmail.com> - 4.6.1-3
229f82
- Fix float.h inclusion when gcc's headers precede mingrt in include path
229f82
229f82
* Fri Aug 19 2011 Erik van Pienbroek <epienbro@fedoraproject.org> - 4.6.1-2
229f82
- Build against ppl and cloog
229f82
229f82
* Mon Jun 27 2011 Kalev Lember <kalev@smartlink.ee> - 4.6.1-1
229f82
- Update to 4.6.1
229f82
229f82
* Sat May 21 2011 Kalev Lember <kalev@smartlink.ee> - 4.5.3-3
229f82
- Rebuilt with automatic dep extraction and removed all manual
229f82
  mingw32(...) provides / requires
229f82
- Cleaned up the spec file from cruft not needed with latest rpm
229f82
229f82
* Tue May 10 2011 Kalev Lember <kalev@smartlink.ee> - 4.5.3-2
229f82
- Disable plugin support with a configure option, instead of deleting
229f82
  the files in the install section
229f82
- Use the %%{_mingw32_target} macro in files section
229f82
229f82
* Sat Apr 30 2011 Kalev Lember <kalev@smartlink.ee> - 4.5.3-1
229f82
- Update to 4.5.3
229f82
229f82
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.5.1-2
229f82
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
229f82
229f82
* Thu Aug 05 2010 Kalev Lember <kalev@smartlink.ee> - 4.5.1-1
229f82
- Update to 4.5.1
229f82
229f82
* Thu May 13 2010 Kalev Lember <kalev@smartlink.ee> - 4.5.0-1
229f82
- Update to vanilla gcc 4.5.0
229f82
- Drop patches specific to Fedora native gcc.
229f82
- BuildRequires libmpc-devel and zlib-devel
229f82
- Added Provides for additional shared language runtime DLLs
229f82
229f82
* Thu Dec 17 2009 Chris Bagwell <chris@cnpbagwell.com> - 4.4.2-2
229f82
- Enable libgomp support.
229f82
229f82
* Sun Nov 22 2009 Kalev Lember <kalev@smartlink.ee> - 4.4.2-1
229f82
- Update to gcc 4.4.2 20091114 svn 154179, which includes
229f82
  VTA backport from 4.5 branch.
229f82
- Patches taken from native Fedora gcc-4.4.2-10.
229f82
229f82
* Fri Sep 18 2009 Kalev Lember <kalev@smartlink.ee> - 4.4.1-3
229f82
- Require mingw32-binutils >= 2.19.51.0.14 for %%gnu_unique_object support.
229f82
229f82
* Thu Sep 03 2009 Kalev Lember <kalev@smartlink.ee> - 4.4.1-2
229f82
- Update to gcc 4.4.1 20090902 svn 151328.
229f82
- Patches taken from native Fedora gcc-4.4.1-8.
229f82
- Another license update to keep it in sync with native gcc package.
229f82
229f82
* Sun Aug 23 2009 Kalev Lember <kalev@smartlink.ee> - 4.4.1-1
229f82
- Update to gcc 4.4.1 20090818 svn 150873.
229f82
- Patches taken from native Fedora gcc-4.4.1-6.
229f82
- Replaced %%define with %%global and updated %%defattr.
229f82
- Changed license to match native Fedora gcc package.
229f82
229f82
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.4.0-0.8
229f82
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
229f82
229f82
* Mon Mar 23 2009 Richard W.M. Jones <rjones@redhat.com> - 4.4.0-0.7
229f82
- New native Fedora version gcc 4.4.0 20090319 svn 144967.
229f82
- Enable _smp_mflags.
229f82
229f82
* Wed Mar  4 2009 Richard W.M. Jones <rjones@redhat.com> - 4.4.0-0.6
229f82
- Fix libobjc and consequently Objective C and Objective C++ compilers.
229f82
229f82
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.4.0-0.5
229f82
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
229f82
229f82
* Fri Feb 20 2009 Richard W.M. Jones <rjones@redhat.com> - 4.4.0-0.4
229f82
- Rebuild for mingw32-gcc 4.4
229f82
229f82
* Thu Feb 19 2009 Richard W.M. Jones <rjones@redhat.com> - 4.4.0-0.2
229f82
- Move to upstream version 4.4.0-20090216 (same as Fedora native version).
229f82
- Added FORTRAN support.
229f82
- Added Objective C support.
229f82
- Added Objective C++ support.
229f82
229f82
* Mon Nov 24 2008 Richard W.M. Jones <rjones@redhat.com> - 4.3.2-12
229f82
- Rebuild against latest filesystem package.
229f82
229f82
* Fri Nov 21 2008 Richard W.M. Jones <rjones@redhat.com> - 4.3.2-11
229f82
- Remove obsoletes for a long dead package.
229f82
229f82
* Wed Nov 19 2008 Richard W.M. Jones <rjones@redhat.com> - 4.3.2-10
229f82
- Rebuild against mingw32-filesystem 37
229f82
229f82
* Wed Nov 19 2008 Richard W.M. Jones <rjones@redhat.com> - 4.3.2-9
229f82
- Rebuild against mingw32-filesystem 36
229f82
229f82
* Thu Oct 30 2008 Richard W.M. Jones <rjones@redhat.com> - 4.3.2-8
229f82
- Don't BR mpfr-devel for RHEL/EPEL-5 (Levente Farkas).
229f82
229f82
* Thu Sep  4 2008 Richard W.M. Jones <rjones@redhat.com> - 4.3.2-7
229f82
- Rename mingw -> mingw32.
229f82
229f82
* Thu Sep  4 2008 Richard W.M. Jones <rjones@redhat.com> - 4.3.2-6
229f82
- Use RPM macros from mingw-filesystem.
229f82
229f82
* Mon Jul  7 2008 Richard W.M. Jones <rjones@redhat.com> - 4.3.2-3
229f82
- Initial RPM release, largely based on earlier work from several sources.