host:linux, target:mips-elf

gyoung yun cho gycho@dolphin.pknu.ac.kr
Tue Aug 12 19:36:00 GMT 1997


Hello
I want to make mips-elf cross complier at LINUX slackware v3.2.
I could not find 'mips/a.out.h' file.
Where can I get this file ?
Help me.

-----------------------------------------------
My source tree is :
/src/local/src/binutils-2.8.1
/src/local/src/gcc-2.7.2.1
/src/local/src/build

-----------------------------------------------
My script file at /src/local/src is :

#!/bin/sh
host=i386-*-linux
target=mips-elf
prefix=/usr/local
cd build
../binutils-2.8.1/configure --host=$host --target=$target --prefix=$prefix -v
make all info
make install install-info
rm -rf *
../gcc-2.7.2.1/configure --host=$host --target=$target --prefix=$prefix -v
# xgcc wants mips-tfile
make mips-tfile mips-tdump
# mips-tfile.c includes 'mips/a.out.h', but it does not exist. 
make all info
make install install-info
-------------------------------------------------




More information about the crossgcc mailing list