public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* RE: build under linux and for host mingw
@ 2005-07-06 21:27 Julie Tao
  2005-07-06 21:29 ` Daniel Jacobowitz
  0 siblings, 1 reply; 4+ messages in thread
From: Julie Tao @ 2005-07-06 21:27 UTC (permalink / raw)
  To: Daniel Jacobowitz; +Cc: gdb

Hi Daniel,

Is there any version of gdb supports mingw hosting?

I have a very old version of gdb (probably 4.7) and I can build it for
mingw host successfully. However, I need a more recent gdb to work with.

Thanks!

Julie
 

-----Original Message-----
From: Daniel Jacobowitz [mailto:drow@false.org] 
Sent: Wednesday, July 06, 2005 5:16 PM
To: Julie Tao
Cc: gdb@sources.redhat.com
Subject: Re: build under linux and for host mingw

On Wed, Jul 06, 2005 at 05:13:46PM -0400, Julie Tao wrote:
> Hi,
> 
> I downloaded gdb-6.3 and try to build a cross debugger for host mingw
> and build it on the Linux:
> 
> --host = i386-mingw32
> --target = mips
> --build = i386-redhat-linux
> 
> I got the following error messages from config.log:
> 
> This file contains any messages produced by compilers while
> running configure, to aid debugging if configure makes a mistake.

This is not the correct log file; the "error" is harmless.  It'll be in
another one somewhere.

However, the released GDB 6.3 did not support i386-mingw32 hosting.  I
hope a future release will.

-- 
Daniel Jacobowitz
CodeSourcery, LLC

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: build under linux and for host mingw
  2005-07-06 21:27 build under linux and for host mingw Julie Tao
@ 2005-07-06 21:29 ` Daniel Jacobowitz
  0 siblings, 0 replies; 4+ messages in thread
From: Daniel Jacobowitz @ 2005-07-06 21:29 UTC (permalink / raw)
  To: Julie Tao; +Cc: gdb

On Wed, Jul 06, 2005 at 05:27:27PM -0400, Julie Tao wrote:
> Hi Daniel,
> 
> Is there any version of gdb supports mingw hosting?

Not yet.  CVS will almost work, but I believe the last patch is still
under discussion.

You could try the version on the CVS branch 'csl-arm-20050325-branch',
but I can't vouch for how well it works on other targets.

-- 
Daniel Jacobowitz
CodeSourcery, LLC

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: build under linux and for host mingw
  2005-07-06 21:13 Julie Tao
@ 2005-07-06 21:15 ` Daniel Jacobowitz
  0 siblings, 0 replies; 4+ messages in thread
From: Daniel Jacobowitz @ 2005-07-06 21:15 UTC (permalink / raw)
  To: Julie Tao; +Cc: gdb

On Wed, Jul 06, 2005 at 05:13:46PM -0400, Julie Tao wrote:
> Hi,
> 
> I downloaded gdb-6.3 and try to build a cross debugger for host mingw
> and build it on the Linux:
> 
> --host = i386-mingw32
> --target = mips
> --build = i386-redhat-linux
> 
> I got the following error messages from config.log:
> 
> This file contains any messages produced by compilers while
> running configure, to aid debugging if configure makes a mistake.

This is not the correct log file; the "error" is harmless.  It'll be in
another one somewhere.

However, the released GDB 6.3 did not support i386-mingw32 hosting.  I
hope a future release will.

-- 
Daniel Jacobowitz
CodeSourcery, LLC

^ permalink raw reply	[flat|nested] 4+ messages in thread

* build under linux and for host mingw
@ 2005-07-06 21:13 Julie Tao
  2005-07-06 21:15 ` Daniel Jacobowitz
  0 siblings, 1 reply; 4+ messages in thread
From: Julie Tao @ 2005-07-06 21:13 UTC (permalink / raw)
  To: gdb

Hi,

I downloaded gdb-6.3 and try to build a cross debugger for host mingw
and build it on the Linux:

--host = i386-mingw32
--target = mips
--build = i386-redhat-linux

I got the following error messages from config.log:

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:595: checking host system type
configure:616: checking target system type
configure:634: checking build system type
configure:689: checking for a BSD compatible install
configure:742: checking whether ln works
configure:766: checking whether ln -s works
configure:2033: checking for i386-mingw32-gnatbind
configure:2065: checking for gnatbind
configure:2098: checking whether compiler driver understands Ada
configure:2131: checking how to compare bootstrapped objects
configure:2229: checking for correct version of gmp.h
configure:2242: i386-mingw32-gcc -c -g -O2   conftest.c 1>&5
configure:2232:17: gmp.h: No such file or directory
configure: In function `main':
configure:2236: `choke' undeclared (first use in this function)
configure:2236: (Each undeclared identifier is reported only once
configure:2236: for each function it appears in.)
configure:2236: parse error before "me"
configure: failed program was:
#line 2231 "configure"
#include "confdefs.h"
#include "gmp.h"
int main() {

#if __GNU_MP_VERSION < 3
choke me
#endif

; return 0; }

Could anyone be kind to tell me what to do?

Thanks!

Julie






^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-07-06 21:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-06 21:27 build under linux and for host mingw Julie Tao
2005-07-06 21:29 ` Daniel Jacobowitz
  -- strict thread matches above, loose matches on Subject: below --
2005-07-06 21:13 Julie Tao
2005-07-06 21:15 ` Daniel Jacobowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).