caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* RE: stand-alone top-level
@ 2007-04-17 14:14 EL CHAAR Rabih   SGAM/AI/SAM
  2007-04-17 14:23 ` Sam Steingold
  0 siblings, 1 reply; 3+ messages in thread
From: EL CHAAR Rabih   SGAM/AI/SAM @ 2007-04-17 14:14 UTC (permalink / raw)
  To: Sam Steingold; +Cc: caml-list

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: stand-alone top-level
  2007-04-17 14:14 stand-alone top-level EL CHAAR Rabih   SGAM/AI/SAM
@ 2007-04-17 14:23 ` Sam Steingold
  2007-04-17 16:11   ` [Caml-list] " ls-ocaml-developer-2006
  0 siblings, 1 reply; 3+ messages in thread
From: Sam Steingold @ 2007-04-17 14:23 UTC (permalink / raw)
  To: EL CHAAR Rabih SGAM/AI/SAM; +Cc: caml-list

EL CHAAR Rabih SGAM/AI/SAM wrote:
> 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).

it would be nice if they were optionally embeddable in the interactive 
top-level.




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Caml-list] Re: stand-alone top-level
  2007-04-17 14:23 ` Sam Steingold
@ 2007-04-17 16:11   ` ls-ocaml-developer-2006
  0 siblings, 0 replies; 3+ messages in thread
From: ls-ocaml-developer-2006 @ 2007-04-17 16:11 UTC (permalink / raw)
  To: caml-list


Sam Steingold <sds@podval.org> writes:

> EL CHAAR Rabih SGAM/AI/SAM wrote:
>> 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).
>
> it would be nice if they were optionally embeddable in the interactive
> top-level.

I suggest tar-ing the *.cmi and the toplevel together, copying them to
the target machine and un-tar-ing? Or rsyncing a complete directory?
You could automate all this with a script.

Regards -- Markus


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-04-17 16:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-04-17 14:14 stand-alone top-level EL CHAAR Rabih   SGAM/AI/SAM
2007-04-17 14:23 ` Sam Steingold
2007-04-17 16:11   ` [Caml-list] " ls-ocaml-developer-2006

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