Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] Can't find Pervasives.cmi (3.07, MinGW, Win2000)
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2003-10-19 (23:54)
From: Jason Hickey <jyh@c...>
Subject: Re: [Caml-list] Can't find Pervasives.cmi (3.07, MinGW, Win2000)
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 Hickey        
Caltech Computer Science      Tel: 626-395-6568 FAX: 626-792-4257

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: