caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Florian Weimer <fw@deneb.enyo.de>
To: "EL CHAAR Rabih SGAM/AI/SAM" <RABIH.ELCHAAR@sgam.com>
Cc: <caml-list@yquem.inria.fr>
Subject: Re: [Caml-list] ocamlmktop mystery
Date: Fri, 18 Nov 2005 14:35:56 +0100	[thread overview]
Message-ID: <87sltu13k3.fsf@mid.deneb.enyo.de> (raw)
In-Reply-To: <7F070E410B10EE419826BF5206322CC2095111@frdef-exmb01.europe.am.socgen> (EL CHAAR Rabih's message of "Fri, 18 Nov 2005 13:50:33 +0100")

* EL CHAAR Rabih:

> The interface file is still in the lib directory.
> you should do the follwing :
> #directory "../lib";;
> # Foo.add;;
>
> The toplevel has to see the interface files .cmi in order to get the
> types, since this infomation is not in the compiled .cmo or .cmx.

Ah, this explains it.  Thanks a lot.

Is there some way to hard-code the paths in the binary (or include the
.cmi files themselves)?  Currently, I use Topdirs.dir_directory to set
the directories, which seems to work, but smells a bit like abusing an
internal interface.


  reply	other threads:[~2005-11-18 13:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-18 12:50 EL CHAAR Rabih   SGAM/AI/SAM
2005-11-18 13:35 ` Florian Weimer [this message]
2005-11-18 18:25   ` Martin Jambon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87sltu13k3.fsf@mid.deneb.enyo.de \
    --to=fw@deneb.enyo.de \
    --cc=RABIH.ELCHAAR@sgam.com \
    --cc=caml-list@yquem.inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).