From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from discorde.inria.fr (discorde.inria.fr [192.93.2.38]) by yquem.inria.fr (Postfix) with ESMTP id F2FC6BC68 for ; Thu, 28 Sep 2006 19:23:14 +0200 (CEST) Received: from access1.cims.nyu.edu (ACCESS1.CIMS.NYU.EDU [128.122.81.155]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id k8SHNDiO000662 for ; Thu, 28 Sep 2006 19:23:14 +0200 Received: from localhost (localhost [127.0.0.1]) by access1.cims.nyu.edu (8.13.6+Sun/8.13.6) with ESMTP id k8SHN7WO000597; Thu, 28 Sep 2006 13:23:08 -0400 (EDT) Date: Thu, 28 Sep 2006 13:23:06 -0400 (EDT) From: Igor Peshansky X-X-Sender: pechtcha@access1.cims.nyu.edu Reply-To: caml-list@yquem.inria.fr To: George Necula Cc: caml-list@yquem.inria.fr Subject: Re: [Caml-list] Compiling latest cvs version of ocaml on cygwin In-Reply-To: Message-ID: References: Importance: Normal MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Miltered: at discorde with ID 451C0501.001 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; cvs:01 ocaml:01 cygwin:01 necula:01 cvs:01 ocaml:01 cygwin:01 camlp:01 cygdrive:01 camlp:01 ocamlrun:01 otherlibs:01 unix:01 otherlibs:01 unix:01 On Thu, 28 Sep 2006, George Necula wrote: > I am trying to compile the latest cvs version of ocaml sources on > cygwin. I get the following error messag: > > cd camlp4; make all > make[1]: Entering directory > `/cygdrive/c/Programs/ocaml-cvs-cygwin/camlp4' > ../boot/ocamlrun -I ../otherlibs/unix -I ../otherlibs/win32unix ../ocaml > -I ../stdlib -I ../otherlibs/unix build/build.ml > Cannot load required shared library dllunix. > Reason: dynamic loading not supported on this platform. > Reference to undefined global `Unix' > > Does anybody know if there is an easy fix? > > BTW, I need the cvs version because of some fixes that did not make it > in 3.09.3 George, Neither 3.09.3 nor the current cvs HEAD compiled OOTB under Cygwin with full fuctionality. I've made some changes that enabled dynamic loading, etc, for the currently released package. I also had a more extensive set of changes that allowed a more seamless integration with Cygwin, but those apparently broke the one major user of O'Caml under Cygwin (namely Unison), and I had no chance to investigate that. I don't have much time to work on it right now, but I can certainly send you the patch I used. Please let me know if you succeed in adapting it for cvs HEAD. Igor Peshansky, the Cygwin O'Caml maintainer -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha@cs.nyu.edu | igor@watson.ibm.com ZZZzz /,`.-'`' -. ;-;;,_ Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte." "But no -- you are no fool; you call yourself a fool, there's proof enough in that!" -- Rostand, "Cyrano de Bergerac"