caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "EL CHAAR Rabih   SGAM/AI/SAM" <RABIH.ELCHAAR@sgam.com>
To: "Sam Steingold" <sds@gnu.org>
Cc: <caml-list@inria.fr>
Subject: RE: stand-alone top-level
Date: Tue, 17 Apr 2007 16:14:54 +0200	[thread overview]
Message-ID: <7625D6A1880B4C4DA11D2EBB8B43D2B90174741A@FRDEF-EXMB03.europe.am.socgen> (raw)

If you speak about the toplevel as interactive, it needs to see the modules interfaces in order to do the type checking, compilation, ... 
These were always in cmi files, which are not embedded in libraries (cma or cmxa).

I don't see any other way then to add the interface directory in the toplevel command.

Maybe someone with more knowledge about the toplevel internals can give a better solution.

Sincerely,
Rabih

-----Message d'origine-----
De : Sam Steingold [mailto:sds@gnu.org] 
Envoyé : mardi 17 avril 2007 15:54
À : EL CHAAR Rabih SGAM/AI/SAM
Cc : caml-list@inria.fr
Objet : Re: stand-alone top-level

EL CHAAR Rabih SGAM/AI/SAM wrote:
> All toplevels need to see the interfaces of the modules you are using (.cmi).

yes, but they should be included in the executable file.
I want 1 (one) file that can be moved to a different machine and used 
there without having to carry all those *.cmi files with me.
Ce message et toutes les pieces jointes (ci-apres le "message") sont confidentiels et etablis a l'intention exclusive de ses destinataires. 
Toute utilisation ou diffusion non autorisee est interdite. 
Tout message electronique est susceptible d'alteration. 
Societe Generale Asset Management et ses filiales declinent toute responsabilite au titre de ce message s'il a ete altere, deforme ou falsifie. 
  
Decouvrez l'offre et les services de Societe Generale Asset Management sur le site www.sgam.fr 
  
                                ******** 
  
This message and any attachments (the "message") are confidential and intended solely for the addressees. 
Any unauthorised use or dissemination is prohibited. 
E-mails are susceptible to alteration. 
Neither Societe Generale Asset Management nor any of its subsidiaries or affiliates shall be liable for the message if altered, changed or falsified. 
 
Find out more about Societe Generale Asset Management's proposal on www.sgam.com


             reply	other threads:[~2007-04-17 14:17 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-17 14:14 EL CHAAR Rabih   SGAM/AI/SAM [this message]
2007-04-17 14:23 ` Sam Steingold
2007-04-17 16:11   ` [Caml-list] " ls-ocaml-developer-2006
  -- strict thread matches above, loose matches on Subject: below --
2007-04-17  8:03 [Caml-list] " EL CHAAR Rabih   SGAM/AI/SAM
2007-04-17 13:54 ` Sam Steingold
2007-04-16 17:52 Sam Steingold

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=7625D6A1880B4C4DA11D2EBB8B43D2B90174741A@FRDEF-EXMB03.europe.am.socgen \
    --to=rabih.elchaar@sgam.com \
    --cc=caml-list@inria.fr \
    --cc=sds@gnu.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;
as well as URLs for NNTP newsgroup(s).