probably very dumb toolchain question

Mike Frysinger vapier at gentoo.org
Mon May 21 20:42:01 UTC 2007


On 5/21/07, Paul Brook <paul at codesourcery.com> wrote:
> > > Is there any reason one woul need to compile the linux kernel with the
> > > same toolchain as the userspace binaries?
> >
> > no, none at all ... in fact you could take a toolchain that is just
> > binutils and gcc (no libc at all) and use that
>
> Not entirely true. On some targets[1] it's not possible to use a bare-metal
> elf toolchains to compile a linux kernels.
>
> Paul
>
> [1] I forget which target I encountered this on, probably mips or sparc.

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

actually i know we do it for the 32bit-userland / 64bit-kernel crowd
... that covers mips/sparc/ppc/hppa ...
-mike



More information about the uClibc mailing list