From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by sympa.inria.fr (Postfix) with ESMTPS id A1DF37FC41 for ; Tue, 3 Mar 2015 14:15:36 +0100 (CET) Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of francois.bobot@cea.fr) identity=pra; client-ip=132.168.224.8; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="francois.bobot@cea.fr"; x-sender="francois.bobot@cea.fr"; x-conformance=sidf_compatible Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of francois.bobot@cea.fr) identity=mailfrom; client-ip=132.168.224.8; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="francois.bobot@cea.fr"; x-sender="francois.bobot@cea.fr"; x-conformance=sidf_compatible Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of postmaster@oxalide-out.extra.cea.fr) identity=helo; client-ip=132.168.224.8; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="francois.bobot@cea.fr"; x-sender="postmaster@oxalide-out.extra.cea.fr"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0A4AgC0svVUnAjgqIRag1Ragwu+P4cXTQEBAQEBARABAQEBAQgLCQkULoQ5DwEFQDYCBRYLAgsDAgECAUsNCAKIKw2sPY9Iml4cBIEhjFKEfIFDBZNZjFeMcYQSboJDAQEB X-IPAS-Result: A0A4AgC0svVUnAjgqIRag1Ragwu+P4cXTQEBAQEBARABAQEBAQgLCQkULoQ5DwEFQDYCBRYLAgsDAgECAUsNCAKIKw2sPY9Iml4cBIEhjFKEfIFDBZNZjFeMcYQSboJDAQEB X-IronPort-AV: E=Sophos;i="5.09,681,1418079600"; d="scan'208";a="124167220" Received: from oxalide-out.extra.cea.fr ([132.168.224.8]) by mail2-smtp-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-SHA; 03 Mar 2015 14:15:36 +0100 Received: from pisaure.intra.cea.fr (pisaure.intra.cea.fr [132.166.88.21]) by oxalide.extra.cea.fr (8.14.2/8.14.2/CEAnet-Internet-out-2.3) with ESMTP id t23DFaiH030117 for ; Tue, 3 Mar 2015 14:15:36 +0100 Received: from pisaure.intra.cea.fr (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id 5DC952066CE for ; Tue, 3 Mar 2015 14:15:46 +0100 (CET) Received: from muguet1.intra.cea.fr (muguet1.intra.cea.fr [132.166.192.6]) by pisaure.intra.cea.fr (Postfix) with ESMTP id 4B0FD2066AA for ; Tue, 3 Mar 2015 14:15:46 +0100 (CET) Received: from [10.8.32.80] (is222783.intra.cea.fr [10.8.32.80]) by muguet1.intra.cea.fr (8.13.8/8.13.8/CEAnet-Intranet-out-1.2) with ESMTP id t23DFZr3010177 for ; Tue, 3 Mar 2015 14:15:35 +0100 Message-ID: <54F5B3F7.3030705@cea.fr> Date: Tue, 03 Mar 2015 14:15:35 +0100 From: =?UTF-8?B?RnJhbsOnb2lzIEJvYm90?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.4.0 MIME-Version: 1.0 To: OCaml Mailing List Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Subject: [Caml-list] Dependencies between plugins Hi everyone, I'm wondering how people are handling dependencies between libraries dynamically linked. Even if many libraries compile a cmxs and have in their META file `archive(plugin,native)=...`. I know only one tool that uses this information: the ocsigen server. The code to gather all the cmxs or cma is not hard to write, thanks to findlib: https://github.com/ocsigen/ocsigenserver/blob/master/src/baselib/ocsigen_loader.ml#L165 Does someone wrote a library that does that? Gerd, do you think that something that does that could be added to ocamlfind? One tricky thing is to know the library statically linked (ie. `Ocsigen_config.builtin_packages`), perhaps ocamlfind can during linking add this information. Regards, -- François