From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15217 invoked by alias); 29 Jan 2004 21:41:53 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 15163 invoked from network); 29 Jan 2004 21:41:52 -0000 Received: from unknown (HELO yosemite.airs.com) (209.128.65.135) by sources.redhat.com with SMTP; 29 Jan 2004 21:41:52 -0000 Received: (qmail 21972 invoked by uid 10); 29 Jan 2004 21:41:51 -0000 Received: (qmail 6565 invoked by uid 500); 29 Jan 2004 21:41:48 -0000 From: Ian Lance Taylor To: gcc@gcc.gnu.org Cc: dan clark , Felix Lee , gdb-patches@sources.redhat.com Subject: Re: with-headers should be 'build' != 'host' References: <20040129034507.D5314180D@grayscale.canids> <20040129181152.GA15394@nevyn.them.org> Date: Thu, 29 Jan 2004 21:41:00 -0000 In-Reply-To: <20040129181152.GA15394@nevyn.them.org> Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2004-01/txt/msg00747.txt.bz2 Daniel Jacobowitz writes: > Secondly, you're still confused about --build, --host, and --target. > If $build != $host == $target, you are building a native toolchain for > another system. This has never been especially well supported, but > --with-headers is definitely not the right way to do it. The copied > headers are used by the built gcc/xgcc, not by the compiler used to > build GCC. Hmmm, I don't follow here. I seem to recall that I wrote --with-header specifically to support the case of $build != $host == $target. So I'm surprised that you say that --with-headers is not the right approach. You're suppose to use --with-headers for the header files for $target. It's not wrong to use it when $host == $target. But I'm probably misunderstanding something. Ian