Fedora теперь поместила mingw32 и mingw64 в основной выпуск.Этот скрипт прекрасно установит все необходимое:
MPKGS="autoconf automake gcc gcc-c++ osslsigncode mingw32-nsis flex wine zlib-devel wget md5deep git "
MPKGS+="mingw32-gcc mingw32-gcc-c++ mingw32-zlib mingw32-zlib-static mingw32-libgnurx-static mingw32-boost mingw32-boost-static "
MPKGS+="mingw64-gcc mingw64-gcc-c++ mingw64-zlib mingw64-zlib-static mingw64-libgnurx-static mingw64-boost mingw64-boost-static"
if [ ! -r /etc/redhat-release ]; then
echo This requires Fedora Linux
exit 1
fi
if grep 'Fedora.release.' /etc/redhat-release ; then
echo Fedora Release detected
else
echo This script is only tested for Fedora Release 17 and should work on F17 or newer.
exit 1
fi
echo Will now try to install
sudo yum install -y $MPKGS
if [ $? != 0 ]; then
echo "Could not install some of the packages. Will not proceed."
exit 1
fi
echo
echo "Now performing a yum update to update system packages"
echo yum -y update