This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Cross Compiling GDB


On Tue, Aug 19, 2003 at 02:31:05PM -0400, Daniel Jacobowitz wrote:
>On Tue, Aug 19, 2003 at 02:00:37PM -0400, Christopher Faylor wrote:
>> On Tue, Aug 19, 2003 at 01:43:05PM -0400, Daniel Jacobowitz wrote:
>> >On Tue, Aug 19, 2003 at 06:40:12PM +0100, Chris.Pedley@arm.com wrote:
>> >>Is it actually possible to cross compile GDB for anything other than
>> >>cygwin.  In the output from ./configure when trying to configure for
>> >>cross compiling using the GNU ARM tools I get the message: configure:
>> >>cross-compiling for a non-cygwin target is not supported
>> >>
>> >>Also, can anyone confirm to me what the exact definitions of host,
>> >>target and build are when passed to ./configure?
>> >>
>> >>Thanks.
>> >
>> >It sounds like you're using the Cygwin sources for GDB.  If you're not
>> >building a Cygwin-targeted GDB, don't do that - or direct comments to
>> >the cygwin list.
>> 
>> "Cygwin sources for gdb"?  The sources for cygwin's gdb are the same as
>> for any other platform.
>
>If so I apologize, but I swear I've heard of local patches from the
>cygwin people before.  Maybe I was thinking of another tool?

Oops.  You're right.  There is a local patch to symtab.c that I'd
forgotten about.  It was submitted by Jim Blandy but (apparently) never
applied.  I guess it's time to research this.

In any event, your advice is still valid.  There's no reason to use the
cygwin sources of gdb if you're trying to build a gdb for another
platform.

>In any case, that error message doesn't come from the FSF sources
>anywhere.

It seems like the error is coming from readline/configure.

cgf


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]