public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
From: Alexandre Oliva <aoliva@redhat.com>
To: "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>
Cc: Nathanael Nerode <neroden@twcny.rr.com>,
	gcc@gcc.gnu.org, gdb@sources.redhat.com,
	binutils@sources.redhat.com
Subject: Re: Partial autoconf transition thoughts
Date: Wed, 11 Jun 2003 18:04:00 -0000	[thread overview]
Message-ID: <orfzmgpk3j.fsf@free.redhat.lsd.ic.unicamp.br> (raw)
In-Reply-To: <Pine.GSO.3.96.1030611125516.7397A-100000@delta.ds2.pg.gda.pl>

On Jun 11, 2003, "Maciej W. Rozycki" <macro@ds2.pg.gda.pl> wrote:

> On 10 Jun 2003, Alexandre Oliva wrote:
>> >  Well, if I specify --host, I mean I want to use a different alias than
>> > the one that is expanded by config.sub.
>> 
>> --host has absolutely nothing to do with config.sub.  --host defaults

>  Has it?  AFAIR, whatever you specify as --host gets passed through
> config.sub before it gets assigned to $host (I'm prepending that "$" now
> to disambiguate variable references).

Err...  Yes, that's correct.  Ok, they have something to do with each
other, after all :-)

>> to --build, that defaults to the output of config.guess.  If you want
>> to override --build, just do it, and it will be propagated to host as

>  But it will be substituted by config.sub first and the original value 
> won't be propagated to $host_alias, will it?

With autoconf 2.5x, $host_alias will be set to whatever is passed as
argument to --host.  If --host is not given, $host_alias will be
blank, and $host will be the canonicalized version of the build
machine.

>  Agreed, as long as there is a way to have $host_alias and $target_alias
> set up as desired. 

We (toplevel, not autoconf) call them $host_noncanonical and
$target_noncanonical now.  autoconf no longer provides this feature.

> $ locate libbfd-2.13.2.1.so
> /usr/i386-linux/mips64el-linux/lib/libbfd-2.13.2.1.so
> /usr/i386-linux/mipsel-linux/lib/libbfd-2.13.2.1.so
> /usr/lib/libbfd-2.13.2.1.so

> Where does that "i386-linux" above come from, then?

Seems like an artifact of your install.  I don't think we use host in
install pathnames by default.

>  Well, this is probably an option, but I don't know why such a
> complication necessary.

It's necessary because of changes in autoconf that make the
propagation of command-line flags from build to host and host to
target not easily available.  If we want to avoid using the
canonicalized names, which we do, using the macros written by
Nathanael is pretty much the only way to go.

> Have you seen the dependency graphs I sent yesterday?  I believe my
> proposal is the simplest solution.

I believe Nathanael's macros are the implementation of the solution.
BTW, we already use them.  See config/acx.m4.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                 aoliva@{redhat.com, gcc.gnu.org}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist                Professional serial bug killer

  reply	other threads:[~2003-06-11 18:04 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-10  0:40 Nathanael Nerode
2003-06-10  0:59 ` Alexandre Oliva
2003-06-10 10:59   ` Maciej W. Rozycki
2003-06-10 11:38     ` Andreas Schwab
2003-06-10 12:45       ` Maciej W. Rozycki
2003-06-10 22:06     ` Alexandre Oliva
2003-06-11 11:32       ` Maciej W. Rozycki
2003-06-11 18:04         ` Alexandre Oliva [this message]
2003-06-11 19:39           ` Maciej W. Rozycki
2003-06-11 20:39             ` Alexandre Oliva
2003-06-12 11:21               ` Maciej W. Rozycki
2003-06-12 12:10                 ` Bernd Jendrissek
2003-06-12 12:26                   ` Maciej W. Rozycki
2003-06-12 21:42                     ` Alexandre Oliva
2003-06-13 10:35                       ` Maciej W. Rozycki
2003-06-13 14:02                         ` Alexandre Oliva
2003-06-13 18:32                           ` Maciej W. Rozycki
2003-06-13 19:25                             ` Alexandre Oliva
2003-06-13 20:15                               ` Maciej W. Rozycki
2003-06-13 20:54                                 ` Alexandre Oliva
2003-06-14 14:33                                   ` Maciej W. Rozycki
2003-06-14 15:43                                     ` Alexandre Oliva
2003-06-14 18:27                                       ` Maciej W. Rozycki
2003-06-26  7:24                                         ` Alexandre Oliva
2003-06-28  0:35                                           ` Maciej W. Rozycki
  -- strict thread matches above, loose matches on Subject: below --
2003-06-10  1:40 Nathanael Nerode
2003-06-10  1:46 ` DJ Delorie
2003-06-09 22:02 Daniel Jacobowitz
2003-06-09 22:17 ` Andrew Cagney
2003-06-09 22:34 ` Alexandre Oliva
2003-06-09 23:14   ` Daniel Jacobowitz
2003-06-10  0:44     ` Alexandre Oliva

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=orfzmgpk3j.fsf@free.redhat.lsd.ic.unicamp.br \
    --to=aoliva@redhat.com \
    --cc=binutils@sources.redhat.com \
    --cc=gcc@gcc.gnu.org \
    --cc=gdb@sources.redhat.com \
    --cc=macro@ds2.pg.gda.pl \
    --cc=neroden@twcny.rr.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).