1 Here are the commands we used to build and install the SPARC
4 PINTOSROOT=$HOME/private/pintos
6 PREFIX=/usr/class/cs140/`uname -m`
10 wget ftp://ftp.gnu.org/pub/gnu/binutils/binutils-2.15.tar.bz2
11 wget ftp://sources.redhat.com/pub/newlib/newlib-1.13.0.tar.gz
12 wget ftp://ftp.gnu.org/pub/gnu/gcc/gcc-3.3.6/gcc-core-3.3.6.tar.bz2
13 wget ftp://ftp.gnu.org/pub/gnu/gdb/gdb-6.3.tar.bz2
15 bzcat binutils-2.15.tar.bz2 | tar x
16 tar xzf newlib-1.13.0.tar.gz
17 bzcat gcc-core-3.3.6.tar.bz2 | tar x
18 bzcat gdb-6.3.tar.bz2 | tar x
23 ../configure --target=i386-elf --prefix=$PREFIX
30 ../configure --target=i386-elf --prefix=$PREFIX --with-gnu-as --with-as=$PREFIX/bin/i386-elf-as --with-gnu-ld --with-ld=$PREFIX/bin/i386-elf-ld --with-headers=$TMP/newlib-1.13.0/newlib/libc/include --with-newlib
37 ../configure --target=i386-elf --prefix=$PREFIX --disable-tui