[MLton] Re: test-{create,spawn} fail(?) on MinGW

Matthew Fluet fluet at tti-c.org
Tue Jul 7 17:39:10 PDT 2009


On Tue, 7 Jul 2009, Wesley W. Terpstra wrote:
> On Tue, Jul 7, 2009 at 12:25 AM, Matthew Fluet <fluet at tti-c.org> wrote:
>
>> test-create behaves the same with r7179 and r7208.  My guess is that the
>> bit is too high to be noticed by the Cygwin/Posix WIFEXITED/etc macros (used
>> by Process.fromStatus' to convert from an integer to the
>> Posix.Process.exit_status datatype).
>
> Good, I choose that bit for this exact reason. I assumed it was working on
> cygwin and didn't want to break it. From what you said earlier, it didn't
> work anyway, so no harm done. :)

Agreed.

> I'm not sure it's worth trying to fix these two tests for "use-mmap false",
> which seems a rather obsolete feature. Use cygwin as unix, or else go with
> mingw for "native" windows.

I agree with the "use cygwin as unix".  Indeed, in the upcoming Cygwin 1.7, 
one gets a warning upon any use of a Windows path.  I'm thinking that 
after the MLton release, the Path module should drop all of the "Windows 
hacks" for Cygwin.

> On a side-note: win64 is working surprisingly well! It seems there has been
> real progress made by the mingw-w64 project since I last tried it.

Nice to hear.




More information about the MLton mailing list