Re: Cross-compilation broken (was: Re: Linux 2.6.11-rc1)

From: Geert Uytterhoeven
Date: Mon Jan 17 2005 - 04:02:02 EST


On Sun, 16 Jan 2005, Sam Ravnborg wrote:
> On Sun, Jan 16, 2005 at 10:22:43AM +0100, Geert Uytterhoeven wrote:
> > Changing
> >
> > | NOSTDINC_FLAGS := -nostdinc -isystem $(shell $(CC) -print-file-name=include)
> >
> > to
> >
> > | NOSTDINC_FLAGS = -nostdinc -isystem $(shell $(CC) -print-file-name=include)
> >
> > fixed it. I guess it picked up the definition for $(CC) before it became
> > $(CROSS_COMPILE)gcc.
>
> Main culprint here is m68k fiddelign with definition of CROSS_COMPILE in
> arch/m68k/Makefile.
> If I find no better fix I will take your version.

M68k isn't the only one. Other archs with builtin automatic support for
cross-compilation do it as well: mips, hppa, hppa64, h8300.

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/