This is the mail archive of the gdb@sourceware.org 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: Can't build gdb for mingw32 if not native? :-(


On Tue, Sep 27, 2005 at 10:53:53PM +0100, Steve Folly wrote:
> >On Tue, Sep 27, 2005 at 10:12:40PM +0100, Steve Folly wrote:
> >
> >>Hi,
> >>
> >>I'm trying to build gdb 6.3 on host powerpc-apple-darwin8.2.0 for
> >>target i386-pc-mingw32msvc.
> >>
> >
> >GDB 6.3 doesn't support the mingw32 target.  In fact it doesn't  
> >support
> >mingw32 as a host either.  Later versions will support it as a host  
> >but
> >not target.
> 
> The configure script in the gdb-6.3.tar.gz I downloaded seems to?

No, it has some mingw bits scattered all over, but GDB definitely does
not have support for this target.

> >This line does not appear in the GDB I'm looking at.  You must be  
> >using
> >someone's mingw32 patches.
> 
> Its in http://ftp.gnu.org/gnu/gdb/gdb-6.3.tar.gz - configure - line  
> 1360. I thought this would have been the 'official' unpatched version?
> 
> I am confused now - which 6.3 are you looking at that *doesn't*  
> support mingw32?!

You're looking at the top level configure script.  I was looking at the
GDB subdirectory's.  So for that part of my comment I apologize; it was
wrong.

> >>I'm trying to get a GNU toolset hosted on OS X and targetting Windows
> >>(MinGW). So far, the compiler toolset is working dandy, and having
> >>gdb would top it off just right.
> >>
> >
> >Note, even if this worked, you'd need a remote debug agent for  
> >Windows.
> >There isn't one finished yet (though I have an unfinished one lying
> >around somewhere if I can ever find the time).
> >
> 
> Where can I find out more information about writing a remote debug  
> agent for Windows?

Nowhere in particular, but try the list archives for what is involved.

-- 
Daniel Jacobowitz
CodeSourcery, LLC


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