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=2.3 required=5.0 tests=AWL,DNS_FROM_RFC_POST, 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 mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by yquem.inria.fr (Postfix) with ESMTP id E1C0EBB84 for ; Tue, 10 Feb 2009 15:27:08 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AtkBAAsdkUnRVdsVkGdsb2JhbACUBT8BAQEBCQkMBxEDrVwIfioIjwoBAwEDglkIgTYGgjaBJg X-IronPort-AV: E=Sophos;i="4.38,186,1233529200"; d="scan'208";a="35000936" Received: from mail-ew0-f21.google.com ([209.85.219.21]) by mail4-smtp-sop.national.inria.fr with ESMTP; 10 Feb 2009 15:27:08 +0100 Received: by ewy14 with SMTP id 14so7929298ewy.9 for ; Tue, 10 Feb 2009 06:27:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=Kyz1bqqhJS3NER70EwWV3F/kCjPqd9DUZJ1jD9+T4OI=; b=FkOUCFDJnRwiu/YlS+hMj029qUpsB/HmNhwAisO00TyW/yqvoA6pN1ZJrGL6FwTneP 8pFPiFxEneDLk9TbtF+SvO2tvKnkmOmyeATSMHYs4n+qGxpwFRL8Y86m0yM7Not8qXUs zQisJLyZOdtdD046o2TZ7VMphvEtD9Kuu3aak= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; b=EALo5t4nw447nTW501Um3Eka8VkIbXfXySEdpglufJ6kAVnsOKDI1dGdadINdufAlG QDq9dQnV6diJIRYomHESgh45sHJNgChTwDmjDP7Or+pZ7IjmtrPAwUtyW6TKF8TR6juI HvcrORE6ULZAiTnh8VVP38ePS+ripZEFa4lwg= Received: by 10.210.12.13 with SMTP id 13mr4851014ebl.19.1234276027803; Tue, 10 Feb 2009 06:27:07 -0800 (PST) Received: from ?192.168.0.102? (papillon.metalscan.fr [212.73.210.234]) by mx.google.com with ESMTPS id 23sm6563065eya.36.2009.02.10.06.27.07 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 10 Feb 2009 06:27:07 -0800 (PST) Message-ID: <49918EBA.9050509@gmail.com> Date: Tue, 10 Feb 2009 15:27:06 +0100 From: Matthieu Dubuget Reply-To: matthieu.dubuget@gmail.com User-Agent: Thunderbird 2.0.0.19 (X11/20090105) MIME-Version: 1.0 To: caml-list@inria.fr Subject: Re: [Caml-list] Re: ocamlbuild documentation References: <1233936696.6216.65.camel@Blefuscu> <0520EBEC-B30C-4D83-9153-A72BC3C986BF@erratique.ch> <499036C6.5070504@lri.fr> <200902091828.30057.jon@ffconsultancy.com> <49909F14.6010601@doomeer.com> <87vdriwfmd.fsf@fel.cvut.cz> In-Reply-To: <87vdriwfmd.fsf@fel.cvut.cz> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam: no; 0.00; matthieu:01 dubuget:01 matthieu:01 dubuget:01 ocamlfind:01 restrictive:01 mli:01 nativ:01 findlib:01 emacs:01 tuareg:01 subdirectory:01 emacs:01 corrected:01 caml-list:01 Jan Kybic a =C3=A9crit : > Why do I have to manually set all the paths and library names > if I have already said "pkg_..." in _tags? Why does not ocamlbuild > uses ocamlfind to find out automatically? I thought the plugin was > supposed to do exactly this. > =20 Not sure about the first answer. Anyway, I will be corrected if I'm wrong ;-) your _tags file is too restrictive. Your pkg_=E2=80=A6 are taken into acc= ount only for =2Eml and .mli files. At link stage, there are not used What if you add " or" on the first line? I think the findlib packages are simply not used during the final step? > By the way, how am I supposed to use the caml-types-show-type feature > in Emacs Tuareg mode, if ocamlbuild forces all the annot files into > the _build subdirectory? > =20 caml-type.el which is used by emacs, is aware of this.