[SOLVED] CS代考计算机代写 compiler Here are the commands we used to build and install the SPARC

30 $

File Name: CS代考计算机代写_compiler_Here_are_the_commands_we_used_to_build_and_install_the_SPARC.zip
File Size: 876.06 KB

SKU: 0689388856 Category: Tags: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,

Or Upload Your Assignment Here:


Here are the commands we used to build and install the SPARC
cross-compiler:

PINTOSROOT=$HOME/private/pintos

PREFIX=/usr/class/cs140/`uname -m`
PATH=$PATH:$PREFIX/bin
TMP=`pwd`

wget ftp://ftp.gnu.org/pub/gnu/binutils/binutils-2.15.tar.bz2
wget ftp://sources.redhat.com/pub/newlib/newlib-1.13.0.tar.gz
wget ftp://ftp.gnu.org/pub/gnu/gcc/gcc-3.3.6/gcc-core-3.3.6.tar.bz2
wget ftp://ftp.gnu.org/pub/gnu/gdb/gdb-6.3.tar.bz2

bzcat binutils-2.15.tar.bz2 | tar x
tar xzf newlib-1.13.0.tar.gz
bzcat gcc-core-3.3.6.tar.bz2 | tar x
bzcat gdb-6.3.tar.bz2 | tar x

cd $TMP/binutils-2.15
mkdir i386
cd i386
../configure –target=i386-elf –prefix=$PREFIX
make LDFLAGS=-lintl
make install

cd $TMP/gcc-3.3.6
mkdir i386
cd i386
../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
make
make install

cd $TMP/gdb-6.3
mkdir i386
cd i386
../configure –target=i386-elf –prefix=$PREFIX –disable-tui
make LDFLAGS=-lintl
make install

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shopping Cart
[SOLVED] CS代考计算机代写 compiler Here are the commands we used to build and install the SPARC
30 $