Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1MrJmq-00087a-RB for mharc-grub-devel@gnu.org; Fri, 25 Sep 2009 19:01:12 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MrJmp-00087V-LP for grub-devel@gnu.org; Fri, 25 Sep 2009 19:01:11 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MrJmk-00085b-8E for grub-devel@gnu.org; Fri, 25 Sep 2009 19:01:10 -0400 Received: from [199.232.76.173] (port=59709 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MrJmk-00085Y-3g for grub-devel@gnu.org; Fri, 25 Sep 2009 19:01:06 -0400 Received: from smarthost02.mail.zen.net.uk ([212.23.3.141]:40647) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MrJmj-0003NV-Gv for grub-devel@gnu.org; Fri, 25 Sep 2009 19:01:05 -0400 Received: from [82.69.40.219] (helo=riva.pelham.vpn.ucam.org) by smarthost02.mail.zen.net.uk with esmtp (Exim 4.63) (envelope-from ) id 1MrJmi-0008PD-Mt for grub-devel@gnu.org; Fri, 25 Sep 2009 23:01:04 +0000 Received: from cjwatson by riva.pelham.vpn.ucam.org with local (Exim 3.36 #1 (Debian)) for grub-devel@gnu.org id 1MrJmi-0007yT-00; Sat, 26 Sep 2009 00:01:04 +0100 Date: Sat, 26 Sep 2009 00:01:04 +0100 From: Colin Watson To: The development of GRUB 2 Message-ID: <20090925230104.GU13423@riva.ucam.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) X-Originating-Smarthost02-IP: [82.69.40.219] X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Subject: Re: configure does not honor CC when testing for -mcmodel=large 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: Fri, 25 Sep 2009 23:01:11 -0000 On Fri, Sep 25, 2009 at 03:35:57PM -0700, Seth Goldberg wrote: > Ok, setting TARGET_CC to gcc-4.3.2 works around this. My assumption was > that CC was the right environment variable (technically, it is, since I'm > not "cross-compiling". Any reason not to use --host as well as --target then, so that Autoconf knows you want to force a specific host platform? If you do that and the values provided for host and target are the same, GRUB's configure script won't assume cross-compilation. > This going back to the core problem of all autoconf detecting Solaris > as i386-pc-solaris and not x86_64-pc-solaris. That should be fixed in config.{guess,sub}, certainly. -- Colin Watson [cjwatson@ubuntu.com]