Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Using threads in compiled code
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Christophe Macabiau <christophe.macabiau@i...>
Subject: [Caml-list] CamlTk/Windows
Xavier Leroy wrote:

> Camltk is (for the time being) Unix-only.  Although Cygwin does heroic
> efforts to emulate Unix, it's not quite Unix and I'm not surprised
> that Camltk doesn't compile right out of the box under Cygwin.

CamlTk compiles under Windows !

You can have a look at SynDEx, which is written using CamlTk :
http://www-rocq.inria.fr/syndex/

It's true that it's a little difficult to compile with Cygwin, various reasons :
* you don't have the good version of Cygwin; I use the version 1.1.8-2 (one day I
tried another version unsucessfully)
* maybe you have a problem with the configure script; in this case you must
report to Pierre Weis and Jun Furuse who maintain CamlTk.

SynDEx is written with CamlTk, but no depends on cygwin.dll. Dmitry Bely and
Masakazu Fukuzawa made a patch of OCaml-3.03 to compile OCaml with mingw
(http://www.mingw.org/ ) which allows to compile under windows without to rely on
3rd party DLL; instead of using cygwin.dll, it use Microsoft's standard C runtime
library MSVCRT.DLL. We adapted this patch to the version 3.04 of OCaml. That's
what I use to compile SynDEx.

We have discussed with the Ocaml team to include this patch in the next version
of Ocaml, to be able to compile with mingw; I don't know if they took a
decision... Maybe it would be useful to distribute this patch on the Camltk web ?

It would be great for Ocaml users who work under Windows (it's not a shame) to be
allowed to use Camltk (it's a joke...)

Regards

Christophe Macabiau

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners