public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: Corinna Vinschen <vinschen@redhat.com>
To: 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: <20060829153540.GA20893@calimero.vinschen.de> (raw)
In-Reply-To: <20060829150948.GA18308@nevyn.them.org>

On Aug 29 11:09, Daniel Jacobowitz wrote:
> On Tue, Aug 29, 2006 at 10:59:27AM -0400, DJ Delorie wrote:
> > 
> > > If you want to build some code that runs on mingw, I don't think
> > > that having mingw tools installed is an unreasonable requirement.
> > 
> > This is how you *get* mingw tools installed.  The same logic that
> > gives you a canadian (worst case) also gives you host-x-host.
> 
> Not so, unless I'm vastly confused.
> 
> 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.
> 
> This is more like adding support for using the in tree newlib with an
> arm-linux compiler so that you could build GCC to run on arm-linux,
> without having to install an arm-linux C library first.  That's why
> I'm dubious about the value.  But maybe Corinna has some good example
> of when you want to do this?

Sorry, but that's not the deal.  Using my patches, you can install a
standard source tree, including gcc, gdb, binutils, [...], and last but
not least the winsup directory on, say, a Linux machine, and then build
a complete three stage canadian cross on *Linux*, which generates a
i686-pc-mingw32-x-arm-elf toolchain.  You don't have to install the MinGW
libraries and header files somewhere on the Linux machine and tweak the
build process to find them.  Everything comes out of the same source
tree.  From my point of view this simplifies stuff, it doesn't make it
more complicated.


Corinna

-- 
Corinna Vinschen
Cygwin Project Co-Leader
Red Hat

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

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-29 12:14 Corinna Vinschen
2006-08-29 15:00 ` Daniel Jacobowitz
2006-08-29 15:24   ` DJ Delorie
2006-08-29 15:32     ` Daniel Jacobowitz
2006-08-29 15:35       ` DJ Delorie
2006-08-29 15:38         ` Daniel Jacobowitz
2006-08-29 15:47           ` DJ Delorie
2006-08-29 15:44       ` Corinna Vinschen [this message]
2006-08-29 16:00         ` Daniel Jacobowitz
2006-08-29 16:08           ` Corinna Vinschen
2006-08-29 16:49             ` Daniel Jacobowitz
2006-08-29 17:04               ` Corinna Vinschen
2006-08-29 16:04         ` Christopher Faylor
2006-08-29 16:09           ` Corinna Vinschen
2006-08-29 16:53             ` Daniel Jacobowitz
2006-08-29 17:01               ` Corinna Vinschen
2006-08-29 17:51                 ` Christopher Faylor
2006-08-29 23:00                   ` Christopher Faylor
2006-08-30  7:15                 ` Corinna Vinschen
2006-08-29 15:10 ` DJ Delorie
2006-08-30 20:32 ` Corinna Vinschen
2006-08-31  7:23   ` Danny Smith
2006-08-31 23:37     ` Corinna Vinschen
2006-08-30 14:44 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=20060829153540.GA20893@calimero.vinschen.de \
    --to=vinschen@redhat.com \
    --cc=binutils@sourceware.org \
    --cc=cygwin-patches@cygwin.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).