Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Olivier Andrieu <andrieu@ijm.jussieu.fr>
To: Richard Jones <rich@annexia.org>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] Usability problems with ocamlmktop / toplevels
Date: Fri, 12 Aug 2005 17:45:23 +0200	[thread overview]
Message-ID: <17148.50195.537649.7148@karryall.dnsalias.org> (raw)
In-Reply-To: <20050812152827.GA4162@furbychan.cocan.org>

Hi Richard,

 Richard Jones [Friday 12 August 2005] :
 > (3) Some libraries are linked into the toplevel, but apparently can't
 > be accessed.  For instance, Calendar ExtLib must be linked into the
 > toplevel because our main code relies on them; however no symbols from
 > either are visible:
 > 
 > $ ./adwords
 >         Objective Caml version 3.08.2
 > 
 > # Date.today ();;
 > Unbound value Date.today
 > # open Date;;
 > Unbound module Date
 > # ExtString.String.split;;
 > Unbound value ExtString.String.split

That's because the toplevel needs access to the .cmi of the modules
_at runtime_. Use the -I argument of the toplevel, or the #directory
directive. 

-- 
   Olivier


  reply	other threads:[~2005-08-12 15:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-12 15:28 Richard Jones
2005-08-12 15:45 ` Olivier Andrieu [this message]
2005-08-15 13:35 ` [Caml-list] " Gerd Stolpmann

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=17148.50195.537649.7148@karryall.dnsalias.org \
    --to=andrieu@ijm.jussieu.fr \
    --cc=caml-list@inria.fr \
    --cc=rich@annexia.org \
    /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