Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Compatibility Ocaml/labltk Linux -> Windows
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Jacques Garrigue <garrigue@k...>
Subject: Re: [Caml-list] Compatibility Ocaml/labltk Linux -> Windows
From: Oliver Bandel <oliver@first.in-berlin.de>
> 
> I want to develop an Ocaml-allpication on linux and
> need it that it can run on windows too.
> 
> I need the typical OCaml-distribution but I also
> need a GUI. I think about using labltk.
> 
> Is it possible to use applications, which are
> running with labltk on linux also on windows?
> Is it possible to port code, or can I use it
> as is?

For most uses, you need not change anything.

There are few incompatibilities for specific functions
* Fileinput on windows only works with sockets (if it works at all!)
  Otherwise you have to do dark magic with threads, as in ocamlbrowser.
* Fileselect on windows is very buggy. Trevor Jim contributed a fixed
  version in the past, but it was rather heavily modified. Maybe some
  other people have working versions. By the way, the ocamlbrowser
  Fileselect works, but is heavily customized too.

Outside of these two small modules, I know of no incompatibilities.

Cheers,

Jacques Garrigue
-------------------
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