Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Xavier Leroy <Xavier.Leroy@inria.fr>
To: Paul Stodghill <stodghil@cs.cornell.edu>, caml-list@inria.fr
Subject: Re: O'Caml 3.00 under Cygwin?
Date: Mon, 21 Aug 2000 11:41:18 +0200	[thread overview]
Message-ID: <20000821114118.58420@pauillac.inria.fr> (raw)
In-Reply-To: <yz18ztu8zup.fsf@MILHOUSE.cs.cornell.edu>; from Paul Stodghill on Fri, Aug 18, 2000 at 09:26:22AM -0400

> I have taken a first crack at getting O'Caml 3.00 to compile and run under
> Cygwin,

Funny you mention this, because I completed a Cygwin port of OCaml a
few weeks ago and merged it back in the working sources.
Interested parties can get the working sources from the CVS repository
(http://camlcvs.inria.fr/), although you should keep in mind that
this are alpha-quality code, not ready for release.

What works:
- "./configure; make world; make install".
- The native-code compiler.
- The replay debugger.
- Many of the external libraries (Unix, Str, Num, Dynlink, Bigarray).

What doesn't work yet:
- None of the threads library works; bytecode threads hang in select()
  apparently, and system threads don't compile because Cygwin doesn't
  implement a large enough subset of POSIX threads (e.g. they left out
  condition variables and thread-specific data).  Don't expect a fix soon.
- The configuration for LablTk fails to find Tcl/Tk, but this shouldn't
  be too hard to fix.
- No GUI for the toplevel.
- No Graphics library.

> I would be interested in comparing notes and patches with anyone who has
> tried this. I am particularly interested in getting the debugger to work
> reliably.

It took me a while, but I got it to work reliably (I think).
Initially, I attributed the crashes to bugs in the Cygwin socket code,
but actually Cygwin is innocent and this was just a text file vs
binary file issue (with rather strange consequences!).

- Xavier Leroy



  reply	other threads:[~2000-08-21 18:05 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-08-18 13:26 Paul Stodghill
2000-08-21  9:41 ` Xavier Leroy [this message]
2000-08-21 15:41   ` Paul Stodghill
2000-08-24 11:14 ` O'Caml 3.00 under Cygwin? [PATCHES] Paul Stodghill

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=20000821114118.58420@pauillac.inria.fr \
    --to=xavier.leroy@inria.fr \
    --cc=caml-list@inria.fr \
    --cc=stodghil@cs.cornell.edu \
    /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