From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2407 invoked by alias); 30 Jan 2002 01:50:51 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 2357 invoked from network); 30 Jan 2002 01:50:47 -0000 Received: from unknown (HELO nevyn.them.org) (128.2.145.6) by sources.redhat.com with SMTP; 30 Jan 2002 01:50:47 -0000 Received: from drow by nevyn.them.org with local (Exim 3.34 #1 (Debian)) id 16Vjtk-0005Ce-00; Tue, 29 Jan 2002 20:50:52 -0500 Date: Tue, 29 Jan 2002 17:50:00 -0000 From: Daniel Jacobowitz To: Dan Kegel Cc: gdb@sources.redhat.com Subject: Re: How does one cross-compile gdbserver? Message-ID: <20020129205052.B19879@nevyn.them.org> Mail-Followup-To: Dan Kegel , gdb@sources.redhat.com References: <3C574C25.8A2F007@kegel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3C574C25.8A2F007@kegel.com> User-Agent: Mutt/1.3.23i X-SW-Source: 2002-01/txt/msg00341.txt.bz2 On Tue, Jan 29, 2002 at 05:28:05PM -0800, Dan Kegel wrote: > I'm going crazy trying to build gdb 5.1.1's gdbserver > in a cross-development environment. > > Has anyone here build one recently? > If so, can you please post your recipe? (Just the day for this answer...) Same way as anything else! You need to have a compiler capable of building target userland binaries, and a development environment set up for same. You may need to run configure in the gdbserver directory manually, with CC set appropriately. Note that you want a gdb configured --host=, not --target=<>! I don't give it good odds of compiling. I've tried several times to clean that up and gotten stymied in various people's objections to my methods (sorry Andrew). I'll be taking another stab at it this week I think. If you get it to build, drop the list a line with your platform. -- Daniel Jacobowitz Carnegie Mellon University MontaVista Software Debian GNU/Linux Developer