English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
[Caml-list] Dynamically evaluating OCaml code
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2004-04-14 (16:15)
From: Kenneth Knowles <kknowles@b...>
Subject: Re: ocamlconf on Cygwin (Re: [Caml-list] Re: GODI vs. Ocamake)

Thanks for the tip; I wasn't aware of this limitation on cygwin.  Your idea is
actually not that bad.  However, upon perusing my code I think it would be
fairly easy to remove all Str and Unix dependencies.  This is what I will do,
since I don't have a cygwin box to test on.


On Wed, Apr 14, 2004 at 12:28:53PM +0100, Peter Jolly wrote:
> Kenneth Knowles wrote:
> >Porting to Windows is a pain in the ass without cygwin.  With just 
> >autoconf/automake, one can make a C program that installs and runs
> >(yes, the build process is part of the install for _most_ OS's) on
> >almost any unix, and cygwin.
> You might be interested to know, then, that ocamlconf doesn't work "out
> of the box" on Cygwin - the configure script relies on dynamic loading,
> which is not supported in the Cygwin ocaml.  It probably works with the
> MinGW port under Cygwin, but that has other problems (no debugger, for
> one) that make it less useful for everyday work.
> Might it be possible, for example, to add a special case where, if the
> invocation of ocaml fails, the configure script tries to generate a
> temporary custom toplevel with Unix and Str built in?  Ugly, I know, but
> nothing more elegant springs to mind...

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