glibc or newlib for mips-elf?

Ian Lance Taylor ian@airs.com
Tue Sep 6 17:54:00 GMT 2005


Eric Fisher <joefoxreal@gmail.com> writes:

> Thanks for your suggestion. 
> I think I need to port glibc. Because the new board is going to run
> linux kernel. But I'm still not sure if glibc will support the new
> target well. Thanks.

If you are running the Linux kernel, then your target is not mips-elf,
but rather mips-linux-gnu.  For that target, glibc or uclibc is
appropriate.

(You may want to use the mips-elf target to build the Linux kernel
itself; I'm not sure.  But when building applications to run on top of
the kernel, mips-linux-gnu is the correct target to use.)

Ian



More information about the Gcc mailing list