From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LVuxB-0007X3-HS for mharc-grub-devel@gnu.org; Sat, 07 Feb 2009 16:43:09 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LVux9-0007Wy-Qw for grub-devel@gnu.org; Sat, 07 Feb 2009 16:43:07 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LVux8-0007Wm-Dx for grub-devel@gnu.org; Sat, 07 Feb 2009 16:43:06 -0500 Received: from [199.232.76.173] (port=34986 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LVux8-0007Wj-8B for grub-devel@gnu.org; Sat, 07 Feb 2009 16:43:06 -0500 Received: from aybabtu.com ([69.60.117.155]:53981) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LVux7-0001vJ-Ry for grub-devel@gnu.org; Sat, 07 Feb 2009 16:43:06 -0500 Received: from [192.168.10.10] (helo=thorin) by aybabtu.com with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1LVurt-0006Ad-Hd for grub-devel@gnu.org; Sat, 07 Feb 2009 22:37:41 +0100 Received: from rmh by thorin with local (Exim 4.63) (envelope-from ) id 1LVuwb-0001s6-Qu for grub-devel@gnu.org; Sat, 07 Feb 2009 22:42:33 +0100 Date: Sat, 7 Feb 2009 22:42:33 +0100 From: Robert Millan To: The development of GRUB 2 Message-ID: <20090207214233.GG6343@thorin> References: <1233195275.2727.18.camel@dv> <20090129130737.GD15436@thorin> <1233245969.2910.19.camel@dv> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1233245969.2910.19.camel@dv> Organization: free as in freedom X-Message-Flag: Worried about Outlook viruses? Switch to Thunderbird! www.mozilla.com/thunderbird X-Debbugs-No-Ack: true User-Agent: Mutt/1.5.13 (2006-08-11) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Subject: Re: Cross-compilation check broken X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Feb 2009 21:43:07 -0000 On Thu, Jan 29, 2009 at 11:19:29AM -0500, Pavel Roskin wrote: > > But if it really meant to compare target with host, I think it should be: > > > > if test "x$target_cpu" != "x$host_cpu"; then > > > > rather than what was before: > > > > if test "x$target" != "x$host"; then > > > > Since "$target_os" has no real meaning. Does that work for you? > > I understand that you are trying to exorcise "$target_os" by all means. > By from the user standpoint, the second set of tools is needed if the > "--target" option was specified and its argument is different from the > one for the "--host" option. Could you give an example situation in which this is needed? Currently I just see that user might do misleading things like: --host=powerpc-unknown-foo --target=powerpc-unknown-bar and then the check will think that host != target because foo != bar, without taking into account that "bar" is meaningless here. -- Robert Millan The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and how) you may access your data; but nobody's threatening your freedom: we still allow you to remove your data and not access it at all."