From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id LAA25614; Sat, 7 Sep 2002 11:22:18 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id LAA25466 for ; Sat, 7 Sep 2002 11:22:18 +0200 (MET DST) Received: from favie.faith.gr.jp (favie.faith.gr.jp [61.127.175.250]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id g879MF129495 for ; Sat, 7 Sep 2002 11:22:16 +0200 (MET DST) Received: from localhost (dhcp7.faith.gr.jp [192.168.1.17]) by favie.faith.gr.jp (8.9.3/8.9.3) with ESMTP id SAA24157; Sat, 7 Sep 2002 18:21:57 +0900 To: oliver@first.in-berlin.de Cc: caml-list@inria.fr Subject: Re: [Caml-list] Compatibility Ocaml/labltk Linux -> Windows In-Reply-To: References: X-Mailer: Mew version 1.94.2 on Emacs 21.2 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20020907182139D.garrigue@kurims.kyoto-u.ac.jp> Date: Sat, 07 Sep 2002 18:21:39 +0900 From: Jacques Garrigue X-Dispatcher: imput version 20000228(IM140) Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk From: Oliver Bandel > > 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