From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31345 invoked by alias); 16 Jan 2006 06:40:02 -0000 Received: (qmail 31322 invoked by uid 22791); 16 Jan 2006 06:40:01 -0000 X-Spam-Check-By: sourceware.org Received: from zproxy.gmail.com (HELO zproxy.gmail.com) (64.233.162.201) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 16 Jan 2006 06:39:59 +0000 Received: by zproxy.gmail.com with SMTP id m22so1033384nzf for ; Sun, 15 Jan 2006 22:39:57 -0800 (PST) Received: by 10.36.22.15 with SMTP id 15mr4809008nzv; Sun, 15 Jan 2006 22:39:57 -0800 (PST) Received: by 10.37.2.42 with HTTP; Sun, 15 Jan 2006 22:39:57 -0800 (PST) Message-ID: <8f2776cb0601152239o1cbdfa40uea72713bde127ddd@mail.gmail.com> Date: Mon, 16 Jan 2006 06:40:00 -0000 From: Jim Blandy To: colin Subject: Re: What are the necessary libraries to compile a cross gdb? Cc: gdb@sourceware.org In-Reply-To: <002401c61a66$d322afd0$106215ac@realtek.com.tw> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <002401c61a66$d322afd0$106215ac@realtek.com.tw> 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/msg00133.txt.bz2 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 successful= ly > 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.