All of lore.kernel.org
 help / color / mirror / Atom feed
From: Colin Watson <cjwatson@ubuntu.com>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: configure does not honor CC when testing for -mcmodel=large
Date: Sat, 26 Sep 2009 00:01:04 +0100	[thread overview]
Message-ID: <20090925230104.GU13423@riva.ucam.org> (raw)
In-Reply-To: <alpine.GSO.2.00.0909251534330.1162@oretfbsg.Jrfg.Fha.PBZ>

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]



  reply	other threads:[~2009-09-25 23:01 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-25 21:07 16bit x86 assembler/disassembler James Courtier-Dutton
2009-09-25 21:10 ` Seth Goldberg
2009-09-25 21:25   ` James Courtier-Dutton
2009-09-26  9:21     ` Felix Zielcke
2009-09-25 22:29   ` configure does not honor CC when testing for -mcmodel=large Seth Goldberg
2009-09-25 22:35     ` Seth Goldberg
2009-09-25 23:01       ` Colin Watson [this message]
2009-09-26 14:28         ` Vladimir 'phcoder' Serbinenko
2009-09-25 22:37     ` Colin Watson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090925230104.GU13423@riva.ucam.org \
    --to=cjwatson@ubuntu.com \
    --cc=grub-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.