caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "Daniel Bünzli" <daniel.buenzli@erratique.ch>
To: Jean-Baptiste Jeannin <jeannin@cs.cornell.edu>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] Compiling a file using the Toploop module
Date: Fri, 3 Aug 2012 02:21:36 +0200	[thread overview]
Message-ID: <569A31D281D34167A1C7CEEA8C972B75@erratique.ch> (raw)
In-Reply-To: <501B1370.2090409@cs.cornell.edu>



Le vendredi, 3 août 2012 à 01:55, Jean-Baptiste Jeannin a écrit :

> I am wondering how to compile such a file using ocamlc, or even if it is
> possible. I have been looking for possible options to include a pointer  
> to a toploop.cmo, but could not solve the problem. Thank you for your help!

If you are using 4.00 the following invocation works :

ocamlc -I +compiler-libs ocamlcommon.cma ocamlbytecomp.cma ocamltoplevel.cma try_toploop.ml

Best,

Daniel
  


  reply	other threads:[~2012-08-03  0:21 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-02 23:55 Jean-Baptiste Jeannin
2012-08-03  0:21 ` Daniel Bünzli [this message]
2012-08-05 23:41   ` Jean-Baptiste Jeannin

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=569A31D281D34167A1C7CEEA8C972B75@erratique.ch \
    --to=daniel.buenzli@erratique.ch \
    --cc=caml-list@inria.fr \
    --cc=jeannin@cs.cornell.edu \
    /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).