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 PAA28536; Sat, 7 Sep 2002 15:28:12 +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 PAA28492 for ; Sat, 7 Sep 2002 15:28:11 +0200 (MET DST) Received: from postfix3-1.free.fr (postfix3-1.free.fr [213.228.0.44]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id g87DSB103910 for ; Sat, 7 Sep 2002 15:28:11 +0200 (MET DST) Received: from imp1-1.pro.proxad.net (imp1-1.pro.proxad.net [212.27.35.86]) by postfix3-1.free.fr (Postfix) with ESMTP id 65C72D9E73; Sat, 7 Sep 2002 15:28:10 +0200 (MEST) Received: by imp1-1.pro.proxad.net (Postfix, from userid 33) id 03C117807D; Sat, 7 Sep 2002 15:28:00 +0200 (MEST) To: Jacques Garrigue Subject: Re: [Caml-list] Compatibility Ocaml/labltk Linux -> Windows Message-ID: <1031405280.3d79fee0e8a03@imp.pro.proxad.net> Date: Sat, 07 Sep 2002 15:28:00 +0200 (MEST) From: jeanmarc.eber@lexifi.com Cc: oliver@first.in-berlin.de, caml-list@inria.fr References: <20020907182139D.garrigue@kurims.kyoto-u.ac.jp> In-Reply-To: <20020907182139D.garrigue@kurims.kyoto-u.ac.jp> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: IMP/PHP IMAP webmail program 2.2.42 X-Originating-IP: 80.11.18.215 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Quoting Jacques Garrigue : > 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. > 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