Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@false.org>
To: DJ Delorie <dj@redhat.com>
Cc: gcc-patches@gcc.gnu.org, gdb-patches@sourceware.org,
		binutils@sourceware.org, mingw-patches@lists.sourceforge.net,
		cygwin-patches@cygwin.com
Subject: Re: [RFC] Simplify MinGW canadian crosses
Date: Tue, 29 Aug 2006 15:44:00 -0000	[thread overview]
Message-ID: <20060829153206.GA19040@nevyn.them.org> (raw)
In-Reply-To: <200608291523.k7TFNUR6027243@greed.delorie.com>

On Tue, Aug 29, 2006 at 11:23:30AM -0400, DJ Delorie wrote:
> 
> > Corinna is trying to generate --host=i686-mingw32 tools, with a
> > different --target.  This requires at least a --target=i686-mingw32
> > compiler coming from elsewhere.  That compiler can build the
> > --host=i686-mingw32 libraries, and usually should.
> 
> Yes.  So?  We build that compiler from the same tree (as a simple
> cross), so it's still the same problem.  We still have to build those
> libraries somehow, we still need to have them in source control, etc.
> Our build farm likes to see a monolithic source tree, and we already
> support building cygwin out of that tree, building mingw out of it is
> a minor change.
> 
> (actually, we build four compilers out of that tree:
> 	linux-linux-linux
> 	linux-linux-mingw
> 	linux-linux-arm
> 	linux-mingw-arm)

I really feel like I'm not communicating here; you're not answering
what I'm asking.  Do you disagree with any of these points?

- To build linux-linux-mingw you already had to have a working compiler
targeting linux.

- To build linux-mingw-arm you must have already built
linux-linux-mingw.  And you must have installed it somewhere that
you could run it later.

- When you build linux-linux-mingw from the combined tree, it
is capable of building the mingw libraries.  That's even the normal
time to do it.

When it comes time to build linux-mingw-arm, you're trying to build
mingw at the same time.  I think that's silly; you should have built
it an iteration earlier.  When you were building a compiler, and
libgcc, for mingw.

Now maybe there's some clever reason why this is better, that you
can explain to me.  I'm not violently opposed.  But I don't see why
we should pick up complexity to build it the way Corinna described
it, unless there's some reason - this stuff is way overcomplex already.

Or maybe the description was wrong, or I misunderstood it?  It doesn't
fit with the tests added to configure.in, which check ${target} for
being mingw.

On a minor note, unless there's some reason otherwise, you may want to
use sinclude(../config/no-executables.m4) instead of copying
GCC_NO_EXECUTABLES.

-- 
Daniel Jacobowitz
CodeSourcery


  reply	other threads:[~2006-08-29 15:32 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-29 13:04 Corinna Vinschen
2006-08-29 13:06 ` Daniel Jacobowitz
2006-08-29 15:32   ` DJ Delorie
2006-08-29 15:35     ` Daniel Jacobowitz
2006-08-29 15:38       ` DJ Delorie
2006-08-29 15:44         ` Daniel Jacobowitz [this message]
2006-08-29 16:00           ` DJ Delorie
2006-08-29 15:47       ` Corinna Vinschen
2006-08-29 16:04         ` Daniel Jacobowitz
2006-08-29 16:09           ` Corinna Vinschen
2006-08-29 16:53             ` Daniel Jacobowitz
2006-08-29 17:51               ` Corinna Vinschen
2006-08-29 16:08         ` Christopher Faylor
2006-08-29 16:49           ` Corinna Vinschen
2006-08-29 17:01             ` Daniel Jacobowitz
2006-08-29 17:04               ` Corinna Vinschen
2006-08-29 18:35                 ` Christopher Faylor
2006-08-30  9:16                   ` Christopher Faylor
2006-08-30 12:33                 ` Corinna Vinschen
2006-08-29 15:24 ` DJ Delorie
2006-08-31 11:34 ` Corinna Vinschen
2006-08-31 12:09   ` Danny Smith
2006-08-30 20:32 Danny Smith

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=20060829153206.GA19040@nevyn.them.org \
    --to=drow@false.org \
    --cc=binutils@sourceware.org \
    --cc=cygwin-patches@cygwin.com \
    --cc=dj@redhat.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=gdb-patches@sourceware.org \
    --cc=mingw-patches@lists.sourceforge.net \
    /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