#!/bin/bash -e export MINGW_PARALLEL="-j4" export MINGW_BUILD=x86_64-pc-linux-gnu export MINGW_GCC_VERSION=4.7.3 export MINGW_PREFIX=/opt/mingw/32 export MINGW_TARGET=i686-w64-mingw32 bash build_binutils.sh bash build_mingw_headers.sh bash build_gcc_core.sh bash build_mingw_runtime.sh bash build_gcc_rest.sh bash build_gdb.sh export MINGW_PREFIX=/opt/mingw/64 export MINGW_TARGET=x86_64-w64-mingw32 bash build_binutils.sh bash build_mingw_headers.sh bash build_gcc_core.sh bash build_mingw_runtime.sh bash build_gcc_rest.sh bash build_gdb.sh