This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: What are the necessary libraries to compile a cross gdb?
- From: Jim Blandy <jimb at red-bean dot com>
- To: colin <colin at realtek dot com dot tw>
- Cc: gdb at sourceware dot org
- Date: Sun, 15 Jan 2006 22:39:57 -0800
- Subject: Re: What are the necessary libraries to compile a cross gdb?
- References: <002401c61a66$d322afd0$106215ac@realtek.com.tw>
On 1/15/06, colin <colin@realtek.com.tw> 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.