m32r-elf target on MinGW.

Daniel Jacobowitz drow@false.org
Sat Apr 15 18:46:00 GMT 2006


On Sun, Apr 16, 2006 at 01:47:18AM +0900, Masaki MURANAKA wrote:
> Hello,
> 
> This is a patch that enables to build m32r-elf target on MinGW host.
> The base version of this patch is gdb-6.4.

Two things:

  - Please use CVS HEAD to submit patches, not an older release.
  - Please use unified diff (diff -u, cvs diff -u).  The patches
    you've posted are impossible to merge, because they have no
    context.

>         * m32r-rom.c: On MinGW, include winsock.h instead of socket.h

I can't find a version of this file which includes socket.h.

>         * remote-m32r-sdi.c: On MinGW, include winsock.h instead of  
> socket.h. And calls WSAStartup().

Or this one.

There've been a lot of mingw32 fixes since gdb 6.4; I don't think this
patch is needed now.  But it would be good if you could test HEAD.

-- 
Daniel Jacobowitz
CodeSourcery



More information about the Gdb-patches mailing list