From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759844AbXJLIvS (ORCPT ); Fri, 12 Oct 2007 04:51:18 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753065AbXJLIvG (ORCPT ); Fri, 12 Oct 2007 04:51:06 -0400 Received: from hoboe2bl1.telenet-ops.be ([195.130.137.73]:51572 "EHLO hoboe2bl1.telenet-ops.be" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751871AbXJLIvE (ORCPT ); Fri, 12 Oct 2007 04:51:04 -0400 Date: Fri, 12 Oct 2007 10:51:00 +0200 (CEST) From: Geert Uytterhoeven To: Finn Thain Cc: Rob Landley , Sam Ravnborg , LKML , Linux/m68k Subject: Re: [PATCH] Make m68k cross compile like every other architecture. In-Reply-To: Message-ID: References: <200710101722.21126.rob@landley.net> <200710111614.39879.rob@landley.net> 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 On Fri, 12 Oct 2007, Finn Thain wrote: > > If your cross-compiler is called differently than the default on in > > arch/*/Makefile, > > Part of the problem is that there is no compelling default. The name of > the cross-compiler can vary depending on the chosen executable prefix or > the chosen target tuple. > > Let's say I create new cross toolchains for both m68k and powerpc. I use > the "m68k-linux-gnu" to follow the m68k default, but let's assume powerpc > users prefer their default "powerpc-linux" so I follow that too. The > result is that I now have gcc's -B option working (or not working) in > suprising ways too. > > Uniformity is more helpful downstream than a different arbitrary default > for each architecture. Debian should patch their default into their kernel > source packages if they've standardised on cross compiler prefixes. > > > what's the problem with calling? > > > > make ARCH=myarch CROSS_COMPILE=my-cross-compile-prefx- > > > > This has been working for +10 years on all non-ia32 platforms I ever worked on. > > But there is no problem with calling that (?). Rob's patch doesn't change > this. But it makes life harder for the people who use it daily. If the consensus is to not provide default cross compiler prefixes in arch/*/Makefile, fine for me, but IFF it's done for all architectures (i.e. check with the blackfin, h8300, mips, parisc, and xtensa people first). 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