From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14997 invoked by alias); 15 Jan 2008 20:24:23 -0000 Received: (qmail 14989 invoked by uid 22791); 15 Jan 2008 20:24:22 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 15 Jan 2008 20:24:03 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 5EFB79833F; Tue, 15 Jan 2008 20:24:01 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id 47D1E9811B; Tue, 15 Jan 2008 20:24:01 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.68) (envelope-from ) id 1JEsKG-0002Ig-3W; Tue, 15 Jan 2008 15:24:00 -0500 Date: Tue, 15 Jan 2008 20:24:00 -0000 From: Daniel Jacobowitz To: Doug Evans Cc: Jim Blandy , gdb@sourceware.org Subject: Re: gdbserver + libiberty? Message-ID: <20080115202400.GA8519@caradoc.them.org> Mail-Followup-To: Doug Evans , Jim Blandy , gdb@sourceware.org References: <20080115172615.232D61C7245@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-12-11) X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2008-01/txt/msg00115.txt.bz2 On Tue, Jan 15, 2008 at 10:41:37AM -0800, Doug Evans wrote: > I couldn't find any docs on building gdbserver for cross targets (i.e > --host != --target), got any pointers? It's only useful for targets > that otherwise can be build natively (AIUIp. Would gdbserver ever be > built with CC_FOR_TARGET whereas gdb got built with CC? I can't find > any code to handle this in gdb or the top level configury. And if not > would gdbserver ever need a different libiberty than the one gdb is > linked with? You can build gdbserver by running src/gdb/gdbserver/configure and make; the top level scripts are not involved at all, so you don't get a libiberty. We need to not break that. If you need libiberty for a good reason, then we can talk about how to build it. -- Daniel Jacobowitz CodeSourcery