caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Martin Jambon <martin_jambon@emailuser.net>
To: Florian Weimer <fw@deneb.enyo.de>
Cc: EL CHAAR Rabih SGAM/AI/SAM <RABIH.ELCHAAR@sgam.com>,
	caml-list@yquem.inria.fr
Subject: Re: [Caml-list] ocamlmktop mystery
Date: Fri, 18 Nov 2005 10:25:39 -0800 (PST)	[thread overview]
Message-ID: <Pine.LNX.4.63.0511181020190.785@munge> (raw)
In-Reply-To: <87sltu13k3.fsf@mid.deneb.enyo.de>

On Fri, 18 Nov 2005, Florian Weimer wrote:

> * 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.

You can create a script like:

#!/bin/sh
exec the_toplevel -I the_directory


Martin

--
Martin Jambon, PhD       http://martin.jambon.free.fr

   Integrated Regexps       http://martin.jambon.free.fr/micmatch.html
   Bioinformatics Wiki      http://wikiomics.org


      reply	other threads:[~2005-11-18 18:26 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
2005-11-18 18:25   ` Martin Jambon [this message]

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=Pine.LNX.4.63.0511181020190.785@munge \
    --to=martin_jambon@emailuser.net \
    --cc=RABIH.ELCHAAR@sgam.com \
    --cc=caml-list@yquem.inria.fr \
    --cc=fw@deneb.enyo.de \
    /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).