... and if I cheat ocamlfind by substituting ocamlc.opt with a link to ocp-ocamlc.opt, I get the following error from ocamlbuild:
I think that's because ocamlfind do not treat -where as a standard ocamlc option:$ ocamlfind ocamlc -where > /home/crox/factory/parallax/src/ssp/_build/ocamlc.whereocamlc.opt: unknown option `-where'.
$ ocamlc.opt -where/usr/lib/ocaml
$ ocamlfind ocamlc -whereocamlc.opt: unknown option `-where'.
I'am using ocaml 3.11 and want to use ocamlbuild, batteries and typerex.I've downloaded ocamlfind enabled myocamlbuild.ml. But, it seems, that there is no opportunity to include support of typerex without breaking support for ocamlfind.So, I've tried to edit my /etc/ocamlfind.conf, or to specify an environment variable: OCAMLFIND_COMMANDS to 'ocamlc=ocp-ocamlc' but neither works. It seems that myocamlbuild overrides this setups.Please, can anybody help me to solve this. Or, maybe, there is a better way to use batteries and typerex?