From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31485 invoked by alias); 3 Oct 2006 23:44:19 -0000 Received: (qmail 31476 invoked by uid 22791); 3 Oct 2006 23:44:19 -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, 03 Oct 2006 23:44:14 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1GUtvn-00082i-SL; Tue, 03 Oct 2006 19:44:11 -0400 Date: Tue, 03 Oct 2006 23:44:00 -0000 From: Daniel Jacobowitz To: Kaz Kylheku Cc: gdb@sourceware.org Subject: Re: How to coerce gdb into pseudo-cross-compiling when build == host? Message-ID: <20061003234411.GA30887@nevyn.them.org> Mail-Followup-To: Kaz Kylheku , gdb@sourceware.org References: <66910A579C9312469A7DF9ADB54A8B7D3E6E82@exchange.ZeugmaSystems.local> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <66910A579C9312469A7DF9ADB54A8B7D3E6E82@exchange.ZeugmaSystems.local> User-Agent: Mutt/1.5.13 (2006-08-11) X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-10/txt/msg00016.txt.bz2 On Tue, Oct 03, 2006 at 04:16:25PM -0700, Kaz Kylheku wrote: > I lied to it by doing this: > > --build=i686-bsd > --target=i686-linux > --host=i686-linux > > But there has to be a better way. It is typical to use --build=i686-none-linux-gnu --host=i686-linux, or some variant thereof. However, to see why the default build wasn't working for you, we'd have to have more detailed information about how it had failed. -- Daniel Jacobowitz CodeSourcery