[MLton] Win32 Patch Instructions
Wed, 4 Aug 2004 14:48:04 -0700 (PDT)
--- Brent Fulgham <email@example.com> wrote:
> I have some updates I'd like you to consider that
> add support for Mingw32 (and therefore, the native
> Windows C runtime library).
I have placed the changes on my website:
This file contains the bulk of the changes. The
implementation still can't compile CM files, but
it can compile individual *.sml files.
Header file for the mocked up rlimit-under-win32.
Header and implementation for a Microsoft Windows
Event Monitor-based implementation of syslog,
based on code from the Labrea project
(http://labrea.sourceforge.net) (Modified here means
most of the functionality removed).
With these changes, it's possible to cross-compile a
MLton compiler that runs on a DOS command line and
compiles SML files. I need to do more work on the
path handling to get CM files to build properly.
I'm not crazy about attaching the win32 signal
implementations to the gc.c file. These should
probably go in their own file with a corresponding
Makefile rule. However, I wasn't sure how to go about
including these files without breaking non-win32
Anyway, I would love to get these changes into CVS so
that the next go-round of applying changes to a
current MLton will be less work! :-)