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 SAA17055; Wed, 14 Apr 2004 18:15:09 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id SAA16122 for ; Wed, 14 Apr 2004 18:15:08 +0200 (MET DST) Received: from calmail-cl.berkeley.edu (mailfarm.Berkeley.EDU [128.32.61.106]) by nez-perce.inria.fr (8.12.10/8.12.10) with ESMTP id i3EGG7jq022017 for ; Wed, 14 Apr 2004 18:16:08 +0200 Received: from [64.162.212.212] (HELO tallman.kefka.frap.net) by calmail-cl.berkeley.edu (CommuniGate Pro SMTP 4.1.8) with SMTP id 16596616; Wed, 14 Apr 2004 09:15:05 -0700 Received: by tallman.kefka.frap.net (sSMTP sendmail emulation); Wed, 14 Apr 2004 09:14:15 -0700 Date: Wed, 14 Apr 2004 09:14:15 -0700 From: Kenneth Knowles To: Peter Jolly Cc: caml-list@inria.fr Subject: Re: ocamlconf on Cygwin (Re: [Caml-list] Re: GODI vs. Ocamake) Message-ID: <20040414161415.GA24052@tallman.kefka.frap.net> References: <20040414.115245.31191001.garrigue@kurims.kyoto-u.ac.jp> <20040414065725.GA25795@tallman.kefka.frap.net> <407D2075.2070104@jollys.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <407D2075.2070104@jollys.org> User-Agent: Mutt/1.5.6i X-Miltered: at nez-perce by Joe's j-chkmail ("http://j-chkmail.ensmp.fr")! X-Loop: caml-list@inria.fr X-Spam: no; 0.00; knowles:99 cygwin:01 caml-list:01 ocamake:01 cygwin:01 perusing:01 dependencies:01 2004:99 knowles:99 autoconf:01 automake:01 os's:01 mingw:01 debugger:01 invocation:01 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk X-Status: X-Keywords: X-UID: 335 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. Kenn 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