On Nov 11, 2007 9:40 PM, Xiaofan Chen wrote: > On Nov 8, 2007 11:23 PM, Daniel Serpell wrote: > > > > The last official version of GCC has support for MIPS m4k core, see: > > http://gcc.gnu.org/onlinedocs/gcc-4.2.2/gcc/MIPS-Options.html > > > > To configure GCC for this particular cpu, you should add "--with-cpu=m4k" > > to the conifgure line. > > > It seems this does not work. But maybe I am doing something > wrong. What should be the $TARGET? mips-elf? > > Which version of binutils should I use? > So as an experiment, I tried to use the latest GCC and binutils and use mips-elf as the target. It does not support the option "--with-cpu=m4k". The building process is ok and it is documented here: http://forum.microchip.com/tm.aspx?m=294405 mcuee@ubuntu:~/mips/bin$ ./mips-elf-gcc -v Using built-in specs. Target: mips-elf Configured with: ../gcc-4.2.2/configure --target=mips-elf --prefix=/home/mcuee/mips --program-prefix=mips-elf- --enable-languages=c --disable-nls --disable-tui --disable-gdbtk --disable-shared --enable-static --disable-threads --with-dwarf2 --enable-multilib --without-headers --with-lib-path=: --disable-libssp --with-float=soft Thread model: single gcc version 4.2.2 Xiaofan -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist