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
Toplevel - load cmo from given location
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2009-01-09 (15:08)
From: Dawid Toton <d0@w...>
Subject: Re: [Caml-list] Toplevel - load cmo from given location

>> The problem is that it gives "Unbound module Enum" while no error about loading the cmo&cmi is shown.
> The #directory instruction is needed to find the .cmi.

I see, so there are 2 problems:
* why the failure to load cmi is silent in this case?
* why the toplevel fails to check for cmi where the cmo is located? This 
looks as incorrect behaviour (the reference manual doesn't mention any 
exceptional rules for the #load directive).