[klibc] Re: [mips] doesn't compile on little-endian

Ralf Baechle DL5RB ralf at linux-mips.org
Wed Jan 18 16:04:49 PST 2006

On Tue, Jan 17, 2006 at 01:07:32AM +0000, Martin Michlmayr wrote:

> Fix klibc compilation on little-endian mips
> > When I compile klibc on little-endian mips, I get:
> >   KLIBCLD klibc/libc.so
> > ld: klibc/arch/mips/crt0.o: compiled for a little endian system and target is big endian
> > ld: klibc/arch/mips/crt0.o: endianness incompatible with that of the selected emulation
> > ld: failed to merge target specific data of file klibc/arch/mips/crt0.o
> Signed-off-by: Martin Michlmayr <tbm at cyrius.com>

Looks good; ages ago I made a similar change to the kernel make file to
let the tools pick the right output format.


More information about the klibc mailing list