Build fix for binutils.
[mingw-build.git] / build_gcc_core.sh
1 #!/bin/bash -e
2
3 tar xjf Archives/gcc-$MINGW_GCC_VERSION.tar.bz2
4 mkdir -p gcc-build-$MINGW_TARGET
5 cd gcc-build-$MINGW_TARGET
6 ../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
7 make $MINGW_PARALLEL all-gcc
8 sudo make install-gcc