Browse thread
[Caml-list] Compatibility Ocaml/labltk Linux -> Windows
-
Oliver Bandel
-
Jacques Garrigue
- jeanmarc.eber@l...
- Yaron M. Minsky
-
Jacques Garrigue
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | jeanmarc.eber@l... |
| Subject: | Re: [Caml-list] Compatibility Ocaml/labltk Linux -> Windows |
Quoting Jacques Garrigue <garrigue@kurims.kyoto-u.ac.jp>: > 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. > I can only confirm this. At LexiFi, we are implementing a (modestly complex, honestly said) GUI under Linux that works just fine, after recompilation, under Win32. Note also that INRIA did a major cleanup of all the camlTk/lablTk stuff (mainly a unification of the low level Tk interface of camlTk and lablTk) a few months ago, one reason more to give it a try. For a non trivial gui implemented under ocaml with camlTk, delivered under win32 as well as under linux, have a look at: http://www-rocq.inria.fr/syndex/ Jean-Marc Eber LexiFi.com ------------------- 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