caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: jeanmarc.eber@lexifi.com
To: Jacques Garrigue <garrigue@kurims.kyoto-u.ac.jp>
Cc: oliver@first.in-berlin.de, caml-list@inria.fr
Subject: Re: [Caml-list] Compatibility Ocaml/labltk Linux -> Windows
Date: Sat, 07 Sep 2002 15:28:00 +0200 (MEST)	[thread overview]
Message-ID: <1031405280.3d79fee0e8a03@imp.pro.proxad.net> (raw)
In-Reply-To: <20020907182139D.garrigue@kurims.kyoto-u.ac.jp>

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


  reply	other threads:[~2002-09-07 13:28 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-06 16:07 Oliver Bandel
2002-09-07  9:21 ` Jacques Garrigue
2002-09-07 13:28   ` jeanmarc.eber [this message]
2002-09-09  1:04 ` Yaron M. Minsky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1031405280.3d79fee0e8a03@imp.pro.proxad.net \
    --to=jeanmarc.eber@lexifi.com \
    --cc=caml-list@inria.fr \
    --cc=garrigue@kurims.kyoto-u.ac.jp \
    --cc=oliver@first.in-berlin.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).