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] 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                  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