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 BAA03853; Mon, 20 Oct 2003 01:54:50 +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 BAA07114 for ; Mon, 20 Oct 2003 01:54:49 +0200 (MET DST) Received: from yukon.yapper.org (adsl-67-120-175-89.dsl.lsan03.pacbell.net [67.120.175.89]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id h9JNsl120297 for ; Mon, 20 Oct 2003 01:54:48 +0200 (MET DST) Received: from cs.caltech.edu (kenai.yapper.org [67.120.175.90]) by yukon.yapper.org (Postfix) with ESMTP id DC2D3672; Sun, 19 Oct 2003 16:54:43 -0700 (PDT) Message-ID: <3F932443.1050908@cs.caltech.edu> Date: Sun, 19 Oct 2003 16:54:43 -0700 From: Jason Hickey Organization: Caltech Computer Science User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Tom Hawkins Cc: caml-list@pauillac.inria.fr Subject: Re: [Caml-list] Can't find Pervasives.cmi (3.07, MinGW, Win2000) References: <200310181229.49542.tom@launchbird.com> <20031019144112.GB2946@alan-schm1p> <200310191039.28504.tom@launchbird.com> In-Reply-To: <200310191039.28504.tom@launchbird.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Loop: caml-list@inria.fr X-Spam: no; 0.00; hickey:01 caml-list:01 pervasives:01 mingw:01 3.07:01 mingw:01 ocamlc:01 cygwin:01 pervasives:01 ocamllib:01 cygdrive:01 binaries:01 ocamlc:01 cygdrive:01 ocamllib:01 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Tom Hawkins wrote: >>>I'm having difficulty getting 3.07 working on a Win 2000 box with >>>the MinGW tool chain. When I try ocamlc.opt from either a Cygwin >>>shell or a windows shell I get: >>> >>> Fatal error: can not open pervasives.cmi > > I let it pick the default directory, "C:\Program Files\Objective > Caml\", and then I set OCAMLLIB to values such as: > /cygdrive/c/Program\ Files/Objective\ Caml/ Isn't this because MinGW binaries are native Win32? I believe ocamlc compiled with MinGW does not understand Cygwin-style paths like /cygdrive/c. You would need the Windows-style path: dos>set OCAMLLIB=c:\Program Files\Objective Caml Jason -- Jason Hickey http://www.cs.caltech.edu/~jyh Caltech Computer Science Tel: 626-395-6568 FAX: 626-792-4257 ------------------- 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