Help ! Cross Compiler installation for Simple Scalar
pretoria
pretoria@pchome.com.tw
Tue Aug 29 08:05:00 GMT 2000
Dear All:
ÃÂ
I'm installing a cross compiler which will generate
code for Simple Scalar simulator ( http://www.cs.wisc.edu/%7Eaustin/simplescalar.html ÃÂ )
The Base compiler I'm using is
gcc-2.7.2.3
I encounter several problems in the installation of
cross-compiler
I am working on Redhat Linux-6.2 in AMD K6-II
350
The installation process is shown as
follows.
ÃÂ
1. The installation of binutils-2.5.2:
ÃÂ $cd
SimpleScalar/binutils-2.5.2
ÃÂ $ configure
--host=i386-*-linux --target=sslittle-na-sstrix
--with-gnu-as ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ --with-gnu-ld
--prefix=/home/pretoria/SScalar
ÃÂ $make ÃÂ $make install
ÃÂ
There were not any problem in
the installation of binutils-2.5.2
ÃÂ
2. The installation of
gcc-2.7.2.3
ÃÂ $cd
SimpleScalar/gcc-2.7.2.3 ÃÂ $configure --host=i386-*-linux
--target=sslittle-na-sstrix
--with-gnu-as ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ --with-gnu-ld
--prefix=/home/pretoria/SScalar ÃÂ $make LANGUAGES=c
ÃÂ
The following error occured during the make of
gcc-2.7.2.3:
ÃÂ
echo "__foo () {}" > dummy.c ./xgcc -B./
-DCROSS_COMPILE -DIN_GCCÃÂ ÃÂ -g -I./include -c dummy.c as:
unrecognized option `-EL' make: *** [libgcc1.null] Error 1
ÃÂ
I have
checked the setting of Makefile to see where is the " unrecognized option
`-EL'ÃÂ " .
The command I used :
$make -p
ÃÂ
I cannot
find out any option passed to the program " as " during the compilation
process.
ÃÂ
Is there
anyone who get any idea about this problem ?
ÃÂ
Pretoria D
Jeng
ÃÂ
More information about the crossgcc
mailing list