Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261433AbVAQJAm (ORCPT ); Mon, 17 Jan 2005 04:00:42 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262728AbVAQJAm (ORCPT ); Mon, 17 Jan 2005 04:00:42 -0500 Received: from witte.sonytel.be ([80.88.33.193]:18656 "EHLO witte.sonytel.be") by vger.kernel.org with ESMTP id S261433AbVAQJAg (ORCPT ); Mon, 17 Jan 2005 04:00:36 -0500 Date: Mon, 17 Jan 2005 10:00:30 +0100 (MET) From: Geert Uytterhoeven To: Sam Ravnborg cc: Linus Torvalds , Andrew Morton , Kernel Mailing List Subject: Re: Cross-compilation broken (was: Re: Linux 2.6.11-rc1) In-Reply-To: <20050116160948.GA3090@mars.ravnborg.org> Message-ID: References: <20050116160948.GA3090@mars.ravnborg.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1251 Lines: 35 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@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/