Cross-compilation broken (was: Re: Linux 2.6.11-rc1)
From: Geert Uytterhoeven (geert_at_linux-m68k.org)
Date: 01/16/05
- Previous message: Wiktor: "2.6.10 - dead keyboard"
- In reply to: Linus Torvalds: "Linux 2.6.11-rc1"
- Next in thread: Sam Ravnborg: "Re: Cross-compilation broken (was: Re: Linux 2.6.11-rc1)"
- Reply: Sam Ravnborg: "Re: Cross-compilation broken (was: Re: Linux 2.6.11-rc1)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 16 Jan 2005 10:22:43 +0100 (MET) To: Linus Torvalds <torvalds@osdl.org>, Sam Ravnborg <sam@ravnborg.org>, Andrew Morton <akpm@osdl.org>
On Tue, 11 Jan 2005, Linus Torvalds wrote:
> Sam Ravnborg:
> o kbuild: Use -isystem `gcc --print-file-name=include`
This change broke cross-compilation for me.
It causes /usr/lib/gcc-lib/i486-linux/3.3.5/include/stdarg.h to be picked up
instead of /usr/local/lib/gcc-lib/m68k-linux/2.95.2/include/stdarg.h.
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.
Gr{oetje,eeting}s,
Geert
-- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Previous message: Wiktor: "2.6.10 - dead keyboard"
- In reply to: Linus Torvalds: "Linux 2.6.11-rc1"
- Next in thread: Sam Ravnborg: "Re: Cross-compilation broken (was: Re: Linux 2.6.11-rc1)"
- Reply: Sam Ravnborg: "Re: Cross-compilation broken (was: Re: Linux 2.6.11-rc1)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|