Hi, All:
Hi, All:
I am working on cross-compiler for mips R3000 on
Linux now and meet a problem in egcs.
My host system is i386 with Rad Hat 7.0
installed.
First, I successfully built and installed
binutils-2.8.1 by using
binutils-2.8.1.tar.gz and egcs-mips-linux-1.1.2-2.i386.rpm. This created bin, lib, mips-linux subdirectories. Second, I installed the linux kernel source code
for mips by using
linux-2.2.14-000715.tar.gz and configured it and enabled CONFIG_CROSSCOMPILE. Made soft links: let mips-linux/include/asm pointd to linux-2.2.14-000715/include/asm-mips and mips-linux/include/linux pointd to linux-2.2.14-000715/include/linux. Third, unziped the egcs-1.1.2.tar.gz, added the
patch
egcs-mips-linux-1.1.2-2.i386.rpm and configured it as following: ./configure --prefix=3D/home/sliu --with-newlib --target=mips-linux and made it this way: make SUBDIRS=3D"libiberty texinfo gcc" ALL_TARGET_MODULES=3D = CONFIGURE_TARGET_MODULES=3D INSTALL_TARGET_MODULES=3D LANGUAGES=3D"c" Then, it gave the following errors in gcc
subdirectory:
xgcc: installation problem, cannot exec
`mips-tfile': No such file or =
directory make[1]: *** [libgcc2.a] Error 1 make[1]: Leaving directory `/home/sliu/egcs-1.1.2/gcc' make: *** [all-gcc] Error 2 Any help would be greatly appreciated.
Regards,
Steven |