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.9 required=5.0 tests=AWL,SPF_FAIL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by yquem.inria.fr (Postfix) with ESMTP id 7FDA6BBC4 for ; Tue, 17 Mar 2009 23:13:29 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AnMBANO9v0lQW+UCe2dsb2JhbACVWAEBFiIEvUmDfAY X-IronPort-AV: E=Sophos;i="4.38,381,1233529200"; d="scan'208";a="24473041" Received: from main.gmane.org (HELO ciao.gmane.org) ([80.91.229.2]) by mail3-smtp-sop.national.inria.fr with ESMTP/TLS/AES256-SHA; 17 Mar 2009 23:13:29 +0100 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1LjhXJ-0007VS-VK for caml-list@inria.fr; Tue, 17 Mar 2009 22:13:26 +0000 Received: from ks300734.kimsufi.com ([91.121.65.225]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 17 Mar 2009 22:13:20 +0000 Received: from sylvain by ks300734.kimsufi.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 17 Mar 2009 22:13:20 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: caml-list@inria.fr From: Sylvain Le Gall Subject: Re: ocamlfind ocamlopt.opt? Date: Tue, 17 Mar 2009 22:13:10 +0000 (UTC) Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: ks300734.kimsufi.com User-Agent: slrn/pre0.9.9-102 (Linux) Sender: news X-Spam: no; 0.00; le-gall:01 ocamlfind:01 ocamlopt:01 ocamlfind:01 ocamlopt:01 findlib:01 usr:01 ocamlc:01 ocamlc:01 ocamldep:01 ocamldep:01 ocamldoc:01 ocamldoc:01 wrote:01 debian:04 On 17-03-2009, Alexy Khrabrov wrote: > [This is supposed to be the shortest question to the list so far; > parts in brackets don't count! :)] > > ocamlfind ocamlopt.opt # how? [move away non.opt and ln -s x.opt x ? > prettier? :)] Of course, there is prettier solution. Use a findlib configuration file. On debian system, when installing ocaml-native-compilers, you get an additional file "/usr/share/ocaml-findlib/ocaml-native-compilers.conf" which auto-set the variable to use the .opt program. Here is its content: ocamlc="ocamlc.opt" ocamlopt="ocamlopt.opt" ocamldep="ocamldep.opt" ocamldoc="ocamldoc.opt" I think you can also directly fix it through /etc/ocamlfind.conf or any other configuration file installed by ocamlfind. Regards Sylvain Le Gall