Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Pedro Alves <palves@redhat.com>
To: Joel Sherrill <joel.sherrill@oarcorp.com>
Cc: Ralf Corsepius <ralf.corsepius@rtems.org>,
	       Mike Frysinger <vapier@gentoo.org>,
	       "gdb@sourceware.org" <gdb@sourceware.org>
Subject: Re: [gdb-7.5.91] mips sim fails to build on mingw32
Date: Wed, 27 Mar 2013 11:21:00 -0000	[thread overview]
Message-ID: <5152D5F7.3080804@redhat.com> (raw)
In-Reply-To: <5145E9AF.9080401@oarcorp.com>

On 03/17/2013 04:05 PM, Joel Sherrill wrote:
> +  # mingw32 does not support sockser
> + SIM_DV_SOCKSER_O=""
> +  case ${host} in
> +    *mingw32*) ;;
> +    *) SIM_DV_SOCKSER_O="dv-sockser.o"
> +       AC_DEFINE_UNQUOTED(
> +         [HAVE_DV_SOCKSER], 1, [Define if dv-sockser is usable.])
> +       ;;
> +  esac
> +  AC_SUBST(SIM_DV_SOCKSER_O)
>  fi

OOC, is there a fundamental reason dv-sockser.o couldn't
be made to work on mingw, or is it that nobody has bothered yet?

I skimmed the file and it just looked like straight socket stuff, which
usually means that porting to mingw just revolves around including
windows.h/winsock2.h and using send/recv/closesocket instead of bsd
style read/write/close, etc.

-- 
Pedro Alves


  parent reply	other threads:[~2013-03-27 11:21 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-15 18:38 Joel Sherrill
     [not found] ` <5143F627.3030905@rtems.org>
2013-03-16  6:56   ` Ralf Corsepius
2013-03-16 15:08     ` Joel Sherrill
2013-03-16 18:11       ` Joel Brobecker
2013-03-16 18:48         ` Joel Sherrill
2013-03-16 23:24           ` Mike Frysinger
2013-03-17  1:03             ` Joel Brobecker
2013-03-17 15:10               ` Mike Frysinger
2013-03-17  1:13             ` Joel Sherrill
2013-03-17 15:09               ` Mike Frysinger
2013-03-17 16:02               ` Joel Brobecker
2013-03-17 16:11                 ` Joel Sherrill
2013-03-17  4:16       ` Ralf Corsepius
2013-03-17 16:05         ` Joel Sherrill
     [not found]           ` <201303181405.55098.vapier@gentoo.org>
2013-03-20 17:51             ` Joel Sherrill
2013-03-20 18:29               ` Mike Frysinger
2013-03-20 18:48                 ` Joel Sherrill
2013-03-27 11:21           ` Pedro Alves [this message]
2013-03-27 17:00             ` Mike Frysinger
  -- strict thread matches above, loose matches on Subject: below --
2013-03-12 23:17 GDB 7.5.91 available for testing Joel Brobecker
     [not found] ` <5140894E.6000308@oarcorp.com>
2013-03-15 12:52   ` [gdb-7.5.91] mips sim fails to build on mingw32 Ralf Corsepius
2013-03-15 18:13     ` Mike Frysinger
2013-03-15 18:32       ` Ralf Corsepius

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=5152D5F7.3080804@redhat.com \
    --to=palves@redhat.com \
    --cc=gdb@sourceware.org \
    --cc=joel.sherrill@oarcorp.com \
    --cc=ralf.corsepius@rtems.org \
    --cc=vapier@gentoo.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