fix a changed url and make binutils compile with recent bison

This commit is contained in:
Bill Currie 2002-12-12 05:13:56 +00:00
parent 31969b67ad
commit 8ee1461fff

View file

@ -29,10 +29,14 @@ MSVCRT_ZIP=bin-msvcrt-2000-03-27.zip
MUMIT_URL=ftp://ftp.xraylith.wisc.edu/pub/khan/gnu-win32/mingw32/snapshots/gcc-2.95.2-1
MUMIT_URL2=ftp://ftp.xraylith.wisc.edu/pub/khan/gnu-win32/mingw32/runtime
# taniwha's binutils patch
BINUTILS_PATCH=binutils-19990818-bison-patch
TAN_URL=http://quakeforge.net/~taniwha/
# this is from my archive
GCC_PATCH=gcc-2.95.2-libio-patch
RHK_URL=http://www.libsdl.org/Xmingw32/crossgcc
RHK_URL=http://www.newimage.com/~rhk/crossgcc/
OPENGL_TAR=opengl.tar.gz
DIRECTX_TAR=directx.tar.gz
@ -70,6 +74,7 @@ download_files()
exit 1
fi
download_file $BINUTILS_TAR $MUMIT_URL
download_file $BINUTILS_PATCH $TAN_URL
download_file $GCC_TAR $MUMIT_URL
download_file $MSVCRT_ZIP $MUMIT_URL2
download_file $GCC_PATCH $RHK_URL
@ -98,6 +103,14 @@ extract_binutils()
cd $TOPDIR
}
patch_binutils()
{
echo "Patching binutils"
cd $SRCDIR/$BINUTILS
patch -p1 < $SRCDIR/$BINUTILS_PATCH
cd $TOPDIR
}
configure_binutils()
{
cd $TOPDIR
@ -191,6 +204,7 @@ download_files
install_libs
extract_binutils
patch_binutils
configure_binutils
build_binutils
install_binutils