Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
ocamlfind ocamlopt.opt?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Sylvain Le Gall <sylvain@l...>
Subject: Re: ocamlfind ocamlopt.opt?
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


I think you can also directly fix it through /etc/ocamlfind.conf or any
other configuration file installed by ocamlfind.

Sylvain Le Gall