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 KAA04930; Tue, 4 Nov 2003 10:45:54 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id KAA04937 for ; Tue, 4 Nov 2003 10:45:53 +0100 (MET) Received: from megs23.100mwh.com ([205.214.86.13]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id hA49jp104414 for ; Tue, 4 Nov 2003 10:45:52 +0100 (MET) Received: from [205.214.86.158] (helo=uaapc442) by megs23.100mwh.com with asmtp (Exim 4.24) id 1AGxkx-0002cF-KQ; Tue, 04 Nov 2003 02:45:48 -0700 Cc: caml-list@inria.fr To: Remi Vanicat Subject: Re: [Caml-list] camlp4 in script References: <87ekwoa3y1.dlv@wanadoo.fr> Message-ID: From: Artem Prisyznuk Content-Type: text/plain; format=flowed; charset=koi8-r MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Date: Tue, 04 Nov 2003 11:46:13 +0200 In-Reply-To: <87ekwoa3y1.dlv@wanadoo.fr> User-Agent: Opera7.21/Win32 M2 build 3218 X-MailScanner-Information: Please contact the ISP for more information X-MailScanner: Found to be clean X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - megs23.100mwh.com X-AntiAbuse: Original Domain - inria.fr X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - sit.kiev.ua X-Loop: caml-list@inria.fr X-Spam: no; 0.00; caml-list:01 camlp:01 artem:01 usr:01 ocamlrun:01 usr:01 camlp:01 artem:01 bin:01 bin:01 ocaml:01 labri:01 u-bordeaux:01 remi:01 nov:01 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Tue, 04 Nov 2003 10:16:54 +0100, Remi Vanicat wrote: > You could try : > #!/usr/bin/ocamlrun /usr/bin/ocaml > > #directory "+camlp4";; > #load "camlp4r.cma";; > print_string "Hello\n"; Thanks a lot, it work. -- Artem Prysyznuk tema@sit.kiev.ua ------------------- 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