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=0.0 required=5.0 tests=none 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 7B4A2BC69 for ; Wed, 8 Aug 2007 06:12:43 +0200 (CEST) Received: from blizzard.cs.caltech.edu (blizzard.cs.caltech.edu [131.215.44.2]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id l784CgOr028559 for ; Wed, 8 Aug 2007 06:12:43 +0200 Received: from localhost (flood.cs.caltech.edu [131.215.44.31]) by blizzard.cs.caltech.edu (Postfix) with ESMTP id A66872A2CF3; Tue, 7 Aug 2007 21:12:41 -0700 (PDT) Received: from snowstorm.cs.caltech.edu ([131.215.44.21]) by localhost (flood.cs.caltech.edu [131.215.44.31]) (amavisd-new, port 10024) with ESMTP id 15811-05; Tue, 7 Aug 2007 21:12:41 -0700 (PDT) Received: from [192.168.3.10] (cpe-75-82-142-242.socal.res.rr.com [75.82.142.242]) by snowstorm.cs.caltech.edu (Postfix) with ESMTP id 5D00F262FB1; Tue, 7 Aug 2007 21:12:41 -0700 (PDT) Message-ID: <46B942B8.8060909@metaprl.org> Date: Tue, 07 Aug 2007 21:12:40 -0700 From: Aleksey Nogin Reply-To: Caml List Organization: MetaPRL/Mojave Research Group User-Agent: Thunderbird 1.5.0.12 (X11/20070719) MIME-Version: 1.0 To: skaller , Caml List Subject: Re: [Caml-list] ocamlbuild References: <1186355977.6523.55.camel@rosella.wigram> In-Reply-To: <1186355977.6523.55.camel@rosella.wigram> X-Enigmail-Version: 0.94.1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Miltered: at discorde with ID 46B942BA.001 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; ocaml:01 ubuntu:98 wrote:01 unix:01 unix:01 caml-list:01 filenames:02 filenames:02 spaces:04 spaces:04 i'd:06 written:07 replacing:09 platforms:09 mandatory:11 On 05.08.2007 16:19, skaller wrote: > To do this, it must read filenames written with / in it, > but use filenames with \ replacing the /. I'd say this is > mandatory, so the same build control file will work on > all platforms. Then you need to document that Unix filenames > must be used, even on Windows. > > Note: although *Ocaml* basenames cannot have spaces in them, > the directories that contain them can. So Ocamlbuild must be > sure to quote all filenames, in case they have spaces. > This includes allowing quotes in the input specs. > Unix file systems allow spaces in filenames too, and many > modern Desktops will have 'folders' with spaces in > (if a 'doze or fruit user gets Ubuntu in their office). I do not know if ocamlbuild addresses these, but I know that OMake does ;-). Aleksey