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 92989820A1 for ; Mon, 9 Sep 2013 10:56:42 +0200 (CEST) Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of daniel.buenzli@erratique.ch) identity=pra; client-ip=74.55.86.74; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="daniel.buenzli@erratique.ch"; x-sender="daniel.buenzli@erratique.ch"; x-conformance=sidf_compatible Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of daniel.buenzli@erratique.ch) identity=mailfrom; client-ip=74.55.86.74; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="daniel.buenzli@erratique.ch"; x-sender="daniel.buenzli@erratique.ch"; x-conformance=sidf_compatible Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of postmaster@smtp.webfaction.com) identity=helo; client-ip=74.55.86.74; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="daniel.buenzli@erratique.ch"; x-sender="postmaster@smtp.webfaction.com"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AncBADmMLVJKN1ZKnGdsb2JhbABbhzq+a4EzDgEBAQEBBg0JCRQogiUBAQQBI1YFCwsaAiYCAkcQBhuHdAYEs3eRA4EpjiQzB4JpNIEAA54NFI5b X-IPAS-Result: AncBADmMLVJKN1ZKnGdsb2JhbABbhzq+a4EzDgEBAQEBBg0JCRQogiUBAQQBI1YFCwsaAiYCAkcQBhuHdAYEs3eRA4EpjiQzB4JpNIEAA54NFI5b X-IronPort-AV: E=Sophos;i="4.90,866,1371074400"; d="scan'208";a="32051110" Received: from mail6.webfaction.com (HELO smtp.webfaction.com) ([74.55.86.74]) by mail2-smtp-roc.national.inria.fr with ESMTP; 09 Sep 2013 10:56:41 +0200 Received: from [192.168.1.126] (cpc3-cmbg9-0-0-cust324.5-4.cable.virginmedia.com [81.103.21.69]) by smtp.webfaction.com (Postfix) with ESMTP id 38F2B2223464; Mon, 9 Sep 2013 08:56:39 +0000 (UTC) Date: Mon, 9 Sep 2013 09:57:11 +0100 From: =?utf-8?Q?Daniel_B=C3=BCnzli?= To: Matej Kosik <5764c029b688c1c0d24a2e97cd764f@gmail.com> Cc: caml-list@inria.fr Message-ID: In-Reply-To: <522D8C0B.5020204@gmail.com> References: <522D8C0B.5020204@gmail.com> X-Mailer: sparrow 1.6.4 (build 1178) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: Re: [Caml-list] ocamlfind and ocaml*.opt tools Le lundi, 9 septembre 2013 =C3=A0 09:51, Matej Kosik a =C3=A9crit : > What is the right way to invoke, say ocamlc.opt via ocamlfind? Don't know if it's the right way. But this should work: Do=20=20=20 > ocamlfind printconf=20=20 This should indicate you the location of `findlib.conf` in which you can se= t the tools to invoke e.g.: > cat /Users/dbuenzli/.opam/4.00.1/lib/findlib.conf=20=20 destdir=3D"/Users/dbuenzli/.opam/4.00.1/lib" path=3D"/Users/dbuenzli/.opam/4.00.1/lib" ocamlc=3D"ocamlc.opt" ocamlopt=3D"ocamlopt.opt" ocamldep=3D"ocamldep.opt" ocamldoc=3D"ocamldoc.opt">=20=20 N.B. this happened to me automatically, so maybe if you install the opt com= piler first and then ocamlfind, its install procedure is able to infer the = right findlib.conf.=20=20 Best, Daniel