probably very dumb toolchain question

Paul Brook paul at codesourcery.com
Mon May 21 21:40:43 UTC 2007


> > Not entirely true. On some targets[1] it's not possible to use a
> > bare-metal elf toolchains to compile a linux kernels.

> i'd be interested i knowing which ones ... ive built cross-compiled
> mips kernels myself with bare toolchains and i'm pretty sure we have
> sparc/mips people doing the same

It was mips. By "bare metal toolchains" I mean configured for mips-elf rather 
than mips-linux.

I tripped over include/asm-mips/sgidefs.h:

/*
 * Using a Linux compiler for building Linux seems logic but not to
 * everybody.
 */
#ifndef __linux__
#error Use a Linux compiler or give up.
#endif



More information about the uClibc mailing list