From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by yquem.inria.fr (Postfix) with ESMTP id 84900BB94 for ; Tue, 4 Oct 2005 09:57:22 +0200 (CEST) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id j947vLhQ025176 for ; Tue, 4 Oct 2005 09:57:21 +0200 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 JAA25712 for ; Tue, 4 Oct 2005 09:57:20 +0200 (MET DST) Received: from nproxy.gmail.com (nproxy.gmail.com [64.233.182.195]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id j947vKAf025173 for ; Tue, 4 Oct 2005 09:57:20 +0200 Received: by nproxy.gmail.com with SMTP id n15so198197nfc for ; Tue, 04 Oct 2005 00:57:20 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=iGJytm+GB4v0GfvcPoJwD2bCpmEuchIibukOgOPhwScYB4mpuLvD5eSdx0wAnBWr3fBLpzJTf/HhKjnglr66TFDXylz+MQ9Dkjfp4Yijj5IV7tWvbH1BBBLkK2dyNQatARPCo1v9ttDLFnZZUOayMxYD1OemvJQ+11liX/4Uwjo= Received: by 10.48.235.15 with SMTP id i15mr79658nfh; Tue, 04 Oct 2005 00:57:20 -0700 (PDT) Received: by 10.48.42.9 with HTTP; Tue, 4 Oct 2005 00:57:20 -0700 (PDT) Message-ID: <3d13dcfc0510040057t4070a781i@mail.gmail.com> Date: Tue, 4 Oct 2005 09:57:20 +0200 From: David MENTRE To: Martin Jambon Subject: Re: [Caml-list] [ANN] ocamlscript 1.1 Cc: David MENTRE , caml-list@inria.fr In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <87oe66qv1x.fsf@linux-france.org> X-Miltered: at nez-perce with ID 434235E1.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at nez-perce with ID 434235E0.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 compilation:01 ocamlfind:01 dependencies:01 flags:01 unix:01 short:01 behaviour:01 argument:01 argument:01 underlying:01 jambon:01 jambon:01 patches:02 library:03 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=RCVD_BY_IP autolearn=disabled version=3.0.3 Hello Martin, 2005/10/3, Martin Jambon : > - how do you specify more than one library (on my OS everything that > follows #!/path/to/ocamlscript is treated as only one argument)? Yes, I have the same behavior on my system (Linux). But multiple arguments are correctly interpreted (I just checked it). The multiple arguments are seen as a single argument by ocamlscript (i.e. the behaviour you observed) but, as the compilation command is done through a Unix.system call, the underlying shell re-interprets arguments through space separations. > - could packages be loaded with ocamlfind so that we don't have to worry > about dependencies, -I flags and camlp4 libraries? Well, this software is quite short (about 100 lines) and is more a proof of concept than expected to solve all cases. In other words, I don't plan to invest much time in it. But it is free software and patches are welcome. ;-) Yours, d.