Re: gdb darwin target on Linux host?

Tristan Gingold
2010-10-20T14:20:57Z

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.