#!/bin/bash -e
tar xjf Archives/gcc-$MINGW_GCC_VERSION.tar.bz2
+cd gcc-$MINGW_GCC_VERSION
+patch -p1 < ../gcc1.patch
+cd ..
mkdir -p gcc-build-$MINGW_TARGET
cd gcc-build-$MINGW_TARGET
../gcc-$MINGW_GCC_VERSION/configure --with-sysroot=$MINGW_PREFIX --prefix=$MINGW_PREFIX --disable-multilib --target=$MINGW_TARGET --with-gnu-ld --with-gnu-as --enable-fully-dynamic-string