> I build the GNU toolchain for mips (--target=mips-elf) > Now, i have built the binutils, gcc, newlib. > > After building, i try to write a simple C porgram (see below) to > test my tools (mips-elf-gcc) > > I encounter some problems. I suspect you've not built your toolchain correctly. Take a look at: http://www.kegel.com/crosstool/ Ben