public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
From: Alexandre Oliva <aoliva@redhat.com>
To: Daniel Jacobowitz <drow@mvista.com>
Cc: gcc@gcc.gnu.org, gdb@sources.redhat.com, binutils@sources.redhat.com
Subject: Re: Partial autoconf transition thoughts
Date: Mon, 09 Jun 2003 22:34:00 -0000	[thread overview]
Message-ID: <orwufuc23r.fsf@free.redhat.lsd.ic.unicamp.br> (raw)
In-Reply-To: <20030609220248.GA21303@nevyn.them.org>

On Jun  9, 2003, Daniel Jacobowitz <drow@mvista.com> wrote:

> 4.  Specify the same thing for both
> 	2.13: Both will be overridden; test $CC for cross mode.
> 	2.57: Both will be overridden, will build natively.

Except that building natively is deprecated, and autoconf people have
already pushed for removing this alternative.  We probably don't want
to rely on it, unless the entire transition is going to be *very*
short, and I don't think it can possibly be, since we're not going to
have simultaneous releases of all of gcc, binutils, gdb and newlib,
such that one could take all of them after the conversion and build a
unified tree.

> So I guess I don't see what the problem is with doing one directory at a
> time.

There are also libtool issues.  We want to use a single libtool.m4,
and you say our current libtool.m4 doesn't work with autoconf 2.5x
(did I misunderstand?), and this was a problem I didn't know about
before.

> There are existence proofs that this (mostly!) works -
> readline has been using autoconf 2.57 since its last import.

I've heard people complain it was being configured as if for cross
compilation even on native builds.

> Could someone who thinks this won't work please speak up, before I
> waste a lot of time?

It should mostly work, but I still think we should pass different
arguments to sub-configures depending on which version of autoconf was
used to configure them.

> I tested a native build on i386-linux

What configure arguments?  Did you pass i386-linux in the command
line?  Maybe one of --build or --host?  The worst case to handle IMO
is that of passing --build, since then autoconf 2.13 directories will
guess --host from config.guess, whereas autoconf 2.57 will default
host to build.  If they're different, we get an inconsistent build
across directories.  That's why I think we should resolve the flags in
the top level, and decide what to pass to each sub-directory.

-- 
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

  parent reply	other threads:[~2003-06-09 22:34 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-09 22:02 Daniel Jacobowitz
2003-06-09 22:17 ` Andrew Cagney
2003-06-09 22:34 ` Alexandre Oliva [this message]
2003-06-09 23:14   ` Daniel Jacobowitz
2003-06-10  0:44     ` Alexandre Oliva
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
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
2003-06-10  1:40 Nathanael Nerode
2003-06-10  1:46 ` DJ Delorie

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=orwufuc23r.fsf@free.redhat.lsd.ic.unicamp.br \
    --to=aoliva@redhat.com \
    --cc=binutils@sources.redhat.com \
    --cc=drow@mvista.com \
    --cc=gcc@gcc.gnu.org \
    --cc=gdb@sources.redhat.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).