From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20436 invoked by alias); 16 Jan 2006 13:46:14 -0000 Received: (qmail 20422 invoked by uid 22791); 16 Jan 2006 13:46:13 -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; Mon, 16 Jan 2006 13:46:11 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1EyUgR-0008DS-4Y; Mon, 16 Jan 2006 08:46:07 -0500 Date: Mon, 16 Jan 2006 13:46:00 -0000 From: Daniel Jacobowitz To: Jim Blandy Cc: colin , gdb@sourceware.org Subject: Re: What are the necessary libraries to compile a cross gdb? Message-ID: <20060116134607.GA31547@nevyn.them.org> Mail-Followup-To: Jim Blandy , colin , gdb@sourceware.org References: <002401c61a66$d322afd0$106215ac@realtek.com.tw> <8f2776cb0601152239o1cbdfa40uea72713bde127ddd@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8f2776cb0601152239o1cbdfa40uea72713bde127ddd@mail.gmail.com> User-Agent: Mutt/1.5.8i 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-01/txt/msg00141.txt.bz2 On Sun, Jan 15, 2006 at 10:39:57PM -0800, Jim Blandy wrote: > On 1/15/06, colin wrote: > > Our MIPS platform contains only Linux, uClibc, and Busybox. > > When I cross-compiling gdb, it seems to lack some libraries to successfully > > compile it. > > Can I use --disable-* to omit all of these libraries? What are the > > necessaries libraries? > > First, let me make sure I understand what you're trying to do. You're > not trying to build a GDB that runs directly on your MIPS platform; > you're trying to build a GDB that runs somewhere else but debugs > programs that are running on your MIPS platform. Right? (So you're > not "cross-compiling" GDB; that would mean you were building a gdb > executable which you expected to run on some other platform. Rather, > you're building GDB as a cross-platform debugger.) > > What are the error messages you're getting? Give us a transcript of > the relevant part of your failing compilation, with context. >From the other direction, to cross compile GDB, you need ncurses or some other library providing a termcap interface. -- Daniel Jacobowitz CodeSourcery