From: Masaki MURANAKA <monaka@monami-software.com>
To: gdb-patches@sourceware.org
Subject: m32r-elf target on MinGW.
Date: Sat, 15 Apr 2006 16:47:00 -0000 [thread overview]
Message-ID: <7ED1920F-290A-4576-8EBA-A506BC401274@monami-software.com> (raw)
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.
----
2006-04-16 Masaki MURANAKA <monaka@monami-software.com>
* m32r-rom.c: On MinGW, include winsock.h instead of socket.h
* remote-m32r-sdi.c: On MinGW, include winsock.h instead of
socket.h. And calls WSAStartup().
----
Index: gdb/m32r-rom.c
===================================================================
RCS file: /home/cvs/pizzafactory/gdb/gdb/m32r-rom.c,v
retrieving revision 1.1.1.4
diff -r1.1.1.4 m32r-rom.c
49a50,52
> #ifdef __MINGW32__
> #include <winsock.h>
> #else
55c58
<
---
> #endif
414a418,424
> #ifdef __MINGW32__
> WSADATA wd;
> /* Winsock initialization. */
> if (WSAStartup (MAKEWORD (1, 1), &wd))
> error (_("Couldn't initialize WINSOCK."));
> #endif
>
Index: gdb/remote-m32r-sdi.c
===================================================================
RCS file: /home/cvs/pizzafactory/gdb/gdb/remote-m32r-sdi.c,v
retrieving revision 1.1.1.2
diff -r1.1.1.2 remote-m32r-sdi.c
33a34,36
> #ifdef __MINGW32__
> #include <winsock.h>
> #else
34a38
> #endif
--
Masaki Muranaka
Monami software
next reply other threads:[~2006-04-15 16:47 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-15 16:47 Masaki MURANAKA [this message]
2006-04-15 18:46 ` Daniel Jacobowitz
2006-04-15 23:46 ` Masaki MURANAKA
2006-04-16 1:39 ` Masaki MURANAKA
2006-04-16 6:03 ` Eli Zaretskii
2006-04-18 5:16 ` Kei Sakamoto
2006-04-18 12:55 ` Daniel Jacobowitz
2006-04-19 6:39 ` Kei Sakamoto
2006-04-18 13:41 ` Masaki MURANAKA
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7ED1920F-290A-4576-8EBA-A506BC401274@monami-software.com \
--to=monaka@monami-software.com \
--cc=gdb-patches@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox