[gdb-7.5.91] mips sim fails to build on mingw32
Pedro Alves
palves@redhat.com
Wed Mar 27 11:21:00 GMT 2013
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
More information about the Gdb
mailing list