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=AWL 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 7A813BC50 for ; Mon, 2 Oct 2006 11:24:13 +0200 (CEST) Received: from [128.93.8.195] (alceste.inria.fr [128.93.8.195]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id k929ODpr011826 for ; Mon, 2 Oct 2006 11:24:13 +0200 Message-ID: <4520DABC.8080409@inria.fr> Date: Mon, 02 Oct 2006 11:24:12 +0200 From: Guillaume Rousse User-Agent: Thunderbird 1.5.0.7 (X11/20060915) MIME-Version: 1.0 To: caml-list@inria.fr Subject: findlib help: how to specify dependencies against non-findlib packages ? X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Miltered: at discorde with ID 4520DABD.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; guillaume:01 guillaume:01 findlib:01 dependencies:01 camlimages:01 findlib:01 camlimages:01 lablgtk:01 lablgtk:01 linkopts:01 flags:01 compilation:01 voluceau:01 rocquencourt:01 78153:01 I'm trying to add findlibsupport for camlimages. It has a dependency on graphics, which is easily handled by adding a require variable in META file, as graphics provides findlib support. However, camlimages can also get compiled with either lablgtk or lablgtk2 support (not both of them, as they have conflicting symbols), but none of those packages have findlib support. It means I can't ressort to smart dependency computation. I may eventually use the linkopts variable to add explicit linking flags (such as -I place/to/lablgtk2 lablgtk.cma), but this seem to be only possible for linking, not for compiling, whereas I also need to pass -I place/to/lablgtk2 option during compilation. So, is this just not possible at all ? -- Guillaume Rousse Projet Estime, INRIA Domaine de Voluceau Rocquencourt - B.P. 105 78153 Le Chesnay Cedex - France