From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2306 invoked by alias); 27 Mar 2013 17:00:46 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 2070 invoked by uid 89); 27 Mar 2013 17:00:38 -0000 X-Spam-SWARE-Status: No, score=-9.7 required=5.0 tests=AWL,BAYES_00,KHOP_PGP_SIGNED,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_DNSWL_HI,RCVD_IN_HOSTKARMA_W,RP_MATCHES_RCVD autolearn=ham version=3.3.1 Received: from smtp.gentoo.org (HELO smtp.gentoo.org) (140.211.166.183) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Wed, 27 Mar 2013 17:00:35 +0000 Received: from vapier.localnet (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 5DCB533BE0E; Wed, 27 Mar 2013 17:00:33 +0000 (UTC) From: Mike Frysinger To: Pedro Alves Subject: Re: [gdb-7.5.91] mips sim fails to build on mingw32 Date: Wed, 27 Mar 2013 17:00:00 -0000 User-Agent: KMail/1.13.7 (Linux/3.7.6; KDE/4.6.5; x86_64; ; ) Cc: Joel Sherrill , Ralf Corsepius , "gdb@sourceware.org" References: <5evvfpyhuvbs9ftm3edxb7na.1363372668425@email.android.com> <5145E9AF.9080401@oarcorp.com> <5152D5F7.3080804@redhat.com> In-Reply-To: <5152D5F7.3080804@redhat.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1537438.jSRP6NoeBe"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201303271305.10130.vapier@gentoo.org> X-Virus-Found: No X-SW-Source: 2013-03/txt/msg00080.txt.bz2 --nextPart1537438.jSRP6NoeBe Content-Type: Text/Plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable Content-length: 880 On Wednesday 27 March 2013 07:20:23 Pedro Alves wrote: > On 03/17/2013 04:05 PM, Joel Sherrill wrote: > > + # mingw32 does not support sockser > > + SIM_DV_SOCKSER_O=3D"" > > + case ${host} in > > + *mingw32*) ;; > > + *) SIM_DV_SOCKSER_O=3D"dv-sockser.o" > > + AC_DEFINE_UNQUOTED( > > + [HAVE_DV_SOCKSER], 1, [Define if dv-sockser is usable.]) > > + ;; > > + esac > > + AC_SUBST(SIM_DV_SOCKSER_O) > >=20 > > fi >=20 > 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? the last part one > 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. is there a gnulib module already ? -mike --nextPart1537438.jSRP6NoeBe Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. Content-length: 836 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) iQIcBAABAgAGBQJRUybGAAoJEEFjO5/oN/WBFQsP/i/jjN5OP1ZO9/YWzhvBUT8T VvHbcjjAdOJ2UWRJLamK9rvrc0jhSdXwd/hOxWONUWKpreI7gSdyk8L31dbiLV45 92CNOuN/b9ph1gyMBWaQgZjbsqisSjP8+VYiea0gfkwygiWyy0k7pFa4N+qh+qM5 IlGfE7zykl63HmU51W2rGK5+xdm5GvA/TSiUaukDC6JYvqADR7ZBk0nq/iTh8BCd 4GPMguvAq3fctNpf3isyPHjTnXlzZ3ZgeG0XrbW1Baxzii4P7GjbgvtIa6ThHY8w +t3AtluBVTY2Syx2Cm+mrhebhjdlSPKB+QyZhNGOLR4hZNJyChcE0UAYBt/e4TM5 sHedoLq17+NfxNU+CfhmQ2NkGkbcKZAn/VcWF3Z8hLhdHIP9fRz5DjCnhNohCxgN xGOOn7O6+k9yUh3E+QgP+XLZOp4SX8dFjg/uwvnM3dOTnYcleu2dzqYvYnkYOVkW UHCCcPMnloczyM1sg4xh9z8f5FA4wOMXB6hvbsQdgeRgVDS4KPBac0F1pJHE58SZ lAbbqd/vjEb53EzLRUXa3tu9AQpPSQXxRlznwn7fTa+JEJXpjwIoccHnRYhtGY8r akzYW1maesHjMBO4h2RArHIY2MQGrEqWDQwl3VTcX9iE8yjsLF27AIYJ2BdOGXUd dqDzm8ltL5Ck6pRDX/Yn =DPix -----END PGP SIGNATURE----- --nextPart1537438.jSRP6NoeBe--