[gdb-7.5.91] mips sim fails to build on mingw32

Mike Frysinger vapier@gentoo.org
Wed Mar 27 17:00:00 GMT 2013


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=""
> > +  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?

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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://sourceware.org/pipermail/gdb/attachments/20130327/9b3997db/attachment.sig>


More information about the Gdb mailing list