From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id VAA30005; Tue, 4 Nov 2003 21:01:27 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id VAA30001 for ; Tue, 4 Nov 2003 21:01:26 +0100 (MET) Received: from pop9.ucdavis.edu (pop9.ucdavis.edu [169.237.105.19]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id hA4K1P104611 for ; Tue, 4 Nov 2003 21:01:25 +0100 (MET) Received: from beech (beech.ucdavis.edu [128.120.141.134]) by pop9.ucdavis.edu (8.12.9/8.12.9/it-std-5.0.2) with ESMTP id hA4K1NEV007152 for ; Tue, 4 Nov 2003 12:01:23 -0800 (PST) Received: from ijtrotts by beech with local (Exim 3.36 #1 (Debian)) id 1AH7Vd-0005Yl-00 for ; Tue, 04 Nov 2003 12:10:37 -0800 Date: Tue, 4 Nov 2003 12:10:37 -0800 From: Issac Trotts To: caml-list@inria.fr Subject: Re: [Caml-list] camlp4 in script Message-ID: <20031104201037.GB20928@ucdavis.edu> Reply-To: ijtrotts@ucdavis.edu References: <87ekwoa3y1.dlv@wanadoo.fr> <16295.48830.234496.48633@gargle.gargle.HOWL> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <16295.48830.234496.48633@gargle.gargle.HOWL> User-Agent: Mutt/1.5.4i X-Loop: caml-list@inria.fr X-Spam: no; 0.00; issac:01 trotts:01 ijtrotts:01 caml-list:01 camlp:01 curiousity:01 ocamlmktop:01 camlp:01 ocamlp:01 rsh:99 ocamlp:01 rsh:99 ocamlmktop:01 issac:01 trotts:01 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Tue, Nov 04, 2003 at 09:59:10AM -0500, Lars Nilsson wrote: > Just out of curiousity, wouldn't creating a new toplevel using > something like > > ocamlmktop -I +camlp4 -custom -o ocamlp4rsh camlp4r.cma > > and using > > #!/somedir/ocamlp4rsh > > be a nice solution for this particular problem? No need for the two > additional lines in this case. > > I'm sort of wondering why no-one has suggested it before me (could be > related to me not knowing what I'm saying quite possibly). I think no one suggested it because ocamlmktop creates a toplevel that doesn't automatically include the +camlp4 directory. The -I +camlp4 directive passed to ocamlmktop is only used to find the .cmo and .cma files while making the new toplevel. -- Issac Trotts ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners