Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

An easy way to add a OCAMLPARAM to the environment #681

thomasblanc opened this Issue Jul 11, 2013 · 1 comment


None yet
2 participants

Could it be possible to add a $OCAMLPARAM var to the environment, so that the user could add options to the compilation ?
In my case, I wish I could easily add a -bin-annot when I do opam switch or opam install.


samoht commented Jul 16, 2013

Actually, you can already do that, see https://github.com/OCamlPro/opam-repository/blob/master/compilers/4.00.1.comp (see the env variable).

I need to add that to the developer manual though.

@samoht samoht closed this in e7725fb Jul 16, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment