This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: gdb darwin target on Linux host?
- From: Tristan Gingold <gingold at adacore dot com>
- To: Peter Steiner <sp at med-2-med dot com>
- Cc: gdb at sourceware dot org
- Date: Wed, 20 Oct 2010 16:20:49 +0200
- Subject: Re: gdb darwin target on Linux host?
- References: <20101020135306.9C60531366@nx.neverkill.us>
On Oct 20, 2010, at 3:52 PM, Peter Steiner wrote:
> Hi
>
> I try to compile a darwin-target gdb running on a Linux host:
>
> ./configure --prefix=/usr/local/gdb --target=x86_64-darwin
>
> this works up to the end of configure & make however does NOT generate a
> gdb binary! After make install the bin directory is empty and NO gdb
> binary has been linked at all.
>
> if I do:
>
> ./configure --prefix=/usr/local/gdb --target=i386-darwin
>
> this creates a gdb binary however it cannot read 64bit binaries from
> darwin. Any idea what is wrong?
Could you post the log messages ? I suppose that if no binary is built, then an error has occurred.
Not sure why you try to build such a tool, as it would be basically useless to debug.