This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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

Attachment: signature.asc
Description: This is a digitally signed message part.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]