From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: * X-Spam-Status: No, score=1.0 required=5.0 tests=AWL,SPF_NEUTRAL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from discorde.inria.fr (discorde.inria.fr [192.93.2.38]) by yquem.inria.fr (Postfix) with ESMTP id 9F658BC6B for ; Tue, 17 Apr 2007 10:03:54 +0200 (CEST) Received: from parmail01.sgcib.com (parmail01.sgcib.com [207.45.250.33]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id l3H83mEN021766 for ; Tue, 17 Apr 2007 10:03:49 +0200 X-IronPort-AV: i="4.14,418,1170630000"; d="scan'208"; a="202062418:sNHT44806152" Content-class: urn:content-classes:message MIME-Version: 1.0 x-mimeole: Produced By Microsoft Exchange V6.5.7226.0 Subject: RE: [Caml-list] stand-alone top-level Date: Tue, 17 Apr 2007 10:03:09 +0200 Message-ID: <7625D6A1880B4C4DA11D2EBB8B43D2B9017473D9@FRDEF-EXMB03.europe.am.socgen> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [Caml-list] stand-alone top-level Thread-Index: AceAUlar9wehlReRQnyDf4bUIKJMwwAdAScQ From: "EL CHAAR Rabih SGAM/AI/SAM" To: "Sam Steingold" , X-OriginalArrivalTime: 17 Apr 2007 08:03:10.0264 (UTC) FILETIME=[D704BB80:01C780C6] X-NAI-Spam-Rules: 1 Rules triggered BAYES_00=-2.5 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1" X-Miltered: at discorde with ID 46247F64.001 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; toplevels:01 cmi:01 ocamllib:01 cmi:01 mli:01 ocamlmktop:01 foo:01 foo:01 mli:01 model:01 model:01 ocaml:01 beginner's:01 ocaml:01 bug:01 All toplevels need to see the interfaces of the modules you are using (.cmi= )=2E By default, it looks in the %OCAMLLIB% directory. You can also use the -I directive to add a path for the search of cma,cmi custom -I c:/myinterfaces Hope this helps. Sincerely, Rabih -----Message d'origine----- De=A0: caml-list-bounces@yquem.inria.fr [mailto:caml-list-bounces@yquem.inr= ia.fr] De la part de Sam Steingold Envoy=E9=A0: lundi 16 avril 2007 19:52 =C0=A0: caml-list@inria.fr Objet=A0: [Caml-list] stand-alone top-level How can I create a stand-alone top-level (REPL) executable? My workstation is not powerful enough to run some things, so I want to=20 create an interactive top-level (REPL) executable, copy it to a=20 different machine (with, say, more RAM) and talk to the REPL. Alas, this does not work, because, even though my executable code gets=20 linked in, it cannot be used without the mli files: ocamlmktop foo.cma -o mycaml mycaml now requires foo.mli to be present somewhere for Foo.bar() to be=20 usable. this means that mycaml is not really stand-alone, I have to=20 carry all the mli files with it. this all basically means that I have to compile exe files (instead of an=20 interactive REPL) to do my work on a different machine (i.e.,=20 effectively, I am using the C development model: edit/compile/link/run=20 instead of the Lisp development model: edit/run). so, is there a way around? how do I create a completely stand-alone ocaml repl that contains my code? thanks. Sam. _______________________________________________ Caml-list mailing list. Subscription management: http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list Archives: http://caml.inria.fr Beginner's list: http://groups.yahoo.com/group/ocaml_beginners Bug reports: http://caml.inria.fr/bin/caml-bugs Ce message et toutes les pieces jointes (ci-apres le "message") sont confid= entiels et etablis a l'intention exclusive de ses destinataires.=20 Toute utilisation ou diffusion non autorisee est interdite.=20 Tout message electronique est susceptible d'alteration.=20 Societe Generale Asset Management et ses filiales declinent toute responsab= ilite au titre de ce message s'il a ete altere, deforme ou falsifie.=20 =20 Decouvrez l'offre et les services de Societe Generale Asset Management sur = le site www.sgam.fr=20 =20 ********=20 =20 This message and any attachments (the "message") are confidential and inten= ded solely for the addressees.=20 Any unauthorised use or dissemination is prohibited.=20 E-mails are susceptible to alteration.=20 Neither Societe Generale Asset Management nor any of its subsidiaries or af= filiates shall be liable for the message if altered, changed or falsified.=20 =20 Find out more about Societe Generale Asset Management's proposal on www.sga= m=2Ecom