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