Re: PATCH: Make PowerPC simulator compile on MinGW

Mark Kettenis
2005-11-28T22:43:28Z

> Date: Mon, 28 Nov 2005 14:26:31 -0800
> From: Mark Mitchell <mark@codesourcery.com>
>
> Daniel Jacobowitz wrote:
>
> >>I'm happy to try that on a GNU/Linux box, but how do I prove it in
> >>general? I'm happy to just take out that #include, if that will help
> >>move the patch forward.
> >
> > Please do try that.
>
> I've tested the attached version (identical, except for the
> <sys/errno.h> bits) by building both i686-pc-linux-gnu x powerpc-eabi
> and i686-mingw32 x powerpc-eabi debuggers. (The latter was built on an
> x86-64 GNU/Linux box using an i686-pc-linux-gnu x i686-mingw32 cross
> compiler.)
>
> 2005-11-28 Mark Mitchell <mark@codesourcery.com>
>
> * configure.ac (USE_WIN32API): Define it.
> * configure.in: Regenerate.
> * config.in: Likewise.
> * emul_netbsd.c (write_timezone): Guard with HAVE_GETTIMEOFDAY.
> * emul_unix.c (do_unix_mkdir): Handle Win32 1-argument mkdir.

Looks good to me!

Mark