From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32381 invoked by alias); 29 Aug 2006 15:10:04 -0000 Received: (qmail 32324 invoked by uid 22791); 29 Aug 2006 15:10:03 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Tue, 29 Aug 2006 15:09:56 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1GI5Do-0004nQ-8m; Tue, 29 Aug 2006 11:09:48 -0400 Date: Tue, 29 Aug 2006 15:35:00 -0000 From: Daniel Jacobowitz To: DJ Delorie 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 Message-ID: <20060829150948.GA18308@nevyn.them.org> Mail-Followup-To: DJ Delorie , gcc-patches@gcc.gnu.org, gdb-patches@sourceware.org, binutils@sourceware.org, mingw-patches@lists.sourceforge.net, cygwin-patches@cygwin.com References: <20060829114107.GA17951@calimero.vinschen.de> <20060829124525.GA13245@nevyn.them.org> <200608291459.k7TExRDT026512@greed.delorie.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200608291459.k7TExRDT026512@greed.delorie.com> User-Agent: Mutt/1.5.11+cvs20060403 X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2006-08/txt/msg00209.txt.bz2 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? -- Daniel Jacobowitz CodeSourcery