Quote:
Originally Posted by corp769
Can you give me the whole process that you are doing, starting with ./configure?
|
SimpleScalar simulators To install the SimpleScalar simulators, first untar
simplesim-3.0.tgz, which yields a sub-directory simplesim-3.0. Then invoke the following
commands to compile it:
cd simplesim-3.0 && make
SimpleScalar GCC and related binary utilities. First we need to install the binary utilities
which will be used for compiling SimpleScalar cross GCC. After that we can install SimpleScalar
GCC. The steps are described as follows2
1. Build SimpleScalar binary utilities:
tar -xvzf simpleutils-990811.tar.gz
tar -xvzf simpletools-2v0.tar.gz
then go to the sub-directory simpleutils-990811
./configure --host=i386-*-linux --target=sslittle-na-sstrix
--with-gnu-as --with-gnu-ld --prefix=$IDIR
Note that the above commands are only applicable to Intel/x86 platform running Linux.
You may need to change some of the parameters on a differnt platform. Please refer to
SimpleScalar user guide [2] for more details.
make all install
This will produce utilities installed under $IDIR/sslittle-na-sstrix/bin
2. Build SimpleScalar GCC:
export PATH=$PATH:$IDIR/sslittle-na-sstrix/bin
This is very important! It ensures the following cross compilation will search the right
locations for the utility binaries targeted to SimpleScalar, instead of using the native GNU
utilities.
tar -xvzf gcc-2.7.2.3.tgz
cd $IDIR/gcc-2.7.2.3
./configure --host=i386-*-linux --target=sslittle-na-sstrix
--with-gnu-as --with-gnu-ld --prefix=$IDIR --enable-languages=c
make
make install