[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: using .opt compilers by default with ocaml-native-compilers



On Tue, Aug 23, 2005 at 02:22:58PM +0200, Stefano Zacchiroli wrote:
> It is possible to configure findlib so that when invoking "ocamlfind
> ocamlc/ocamlopt" the .opt versions of the compilers are used. Doing so
> will noticeably speed up compilation of all non-trivial ocaml programs
> (no, not only coq-sized application benefit of the speed up).
[...]

I have no problem with any of this, but it occurred to me that perhaps
the native-compilers package should use the Debian alternatives
mechanism, and make the *.opt versions alternatives for the
byte-compiled equivalents. (Are there any circumstances in which
they're not completely equivalent?)  That way, non-findlib users and
scripts would automatically benefit as well.

-- 
Eric Cooper             e c c @ c m u . e d u



Reply to: