From: Johannes S. <js...@co...> - 2001-11-22 22:27:03
|
After many experiments, using information from Bradley D. LaRonde's http://www.ltc.com/~brad/mips/mipsel-linux-cross-toolchain-building.txt and other sources, I succeded building a mipsel-linux cross-toolchain for an i386-linux host with: - binutils-2.11.92.0.10 - gcc-3.0.2 - glibc-2.2.3 + linuxthreads (w/o soft-float). I chose to install everything in --prefix=/home/js/mipsel, so I don't have to install anything as root (and potentially ruin my native gcc/glibc installation...). The current linux-mips kernel with my patch for the NEC MobilePro 780 PDA (VR4121) could be compiled successfully with it, and a busybox statically linked with the glibc works, too. Quirks: During kernel compilation I get lots of warnings like: Warning: The -march option is incompatible to -mipsN and therefore ignored. Some postings I read on the binutils mailing list suggest that this is a binutils bug, or maybe arch/mips/Makefile must be adjusted for the current binutils. Anyway, the stuff I tried seemed to work. The attached build script contains some comments about which tool versions I chose and why. OTOH, I would be especially grateful if someone could explain to me what the real differences are between gcc-3.0.2 and gcc-2.96.x. Regards, Johannes |