probably very dumb toolchain question
Mike Frysinger
vapier at gentoo.org
Mon May 21 14:45:26 PDT 2007
On 5/21/07, Paul Brook <paul at codesourcery.com> wrote:
> > > 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 was thinking of linux targetted toolchains that lack a libc, so my
usage of terms was a bit incorrect ;)
> 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
i think that's the mips guys trying to edge out random non-GNU
toolchains (like the SGI ones) and simply not knowing (or caring) that
things like mips-elf-* no longer work
-mike
More information about the uClibc
mailing list