Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
Road to native windows OCaml...
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2008-10-14 (21:35)
From: Kuba Ober <kuba@m...>
Subject: Re: [Caml-list] Road to native windows OCaml...
On Tuesday 14 October 2008, Elliott Oti wrote:
> Ocaml works fine on windows with the mingw and msys toolchain. Cygwin is
> not needed. What you are doing with (1) and (2) would be duplicating msys.

Well, maybe (1) is not needed, then, but (2) surely wouldn't hurt as OCaml
tries to use masm. Maybe it should simply try to use nasm if present,
as it should accept same input, just different command line options.

> With regards to (4), you need at the very least to be able to parse
> header files correctly, & provide link stubs. This would again be
> duplicating parts of the mingw toolchain.

Should we not have something like most Lisps' foreign function interfaces,
where we actually specify everything natively (in Ocaml)?

> (3) would be nice, though. And fleshing out the non-functional win32
> stubs in the Unix library (fork etc).


Cheers, Kuba