[GLLUG] Kernel Compile

jo@groupinfo.com jo@groupinfo.com
Mon, 15 Jul 2002 09:31:52 -0400


On 14 Jul 2002 at 18:36, Ben Pfaff wrote:

> Sean <picasso@madflower.com> writes:
> 
> > On 14 Jul 2002, Ben Pfaff wrote:
> > > It doesn't matter what kind of system you compile on, as long as
> > > it's an x86 system.
> > 
> > I thought gcc could cross compile which means you would just have to
> > set the target platform since the Linux kernel contains the various
> > platform code. Or is the cross-compiling capability of gcc a falacy?
> > 
> 
> AIUI, GCC can cross-compile, but not well.  It's suitable for
> bootstrapping new architectures, but not for everyday use.

  Err, that's news to us embedded developers. Some source/target
combinations are flaky, some aren't, but I've certainly had no great
trouble cross-compiling from x86 to MIPS and ARM. Building a cross-
compiler from source is...fun, however :)

-- 

	Jo