Re: Ocamlfind does not allow -thread

"Sébastien Dailly [email protected] [ocaml_beginners]" <[email protected]> Fri, 18 Dec 2015 16:32:09 +0100
Newsgroups gmane.comp.lang.ocaml.beginners
Message-ID <[email protected]>
Le 2015-12-18 16:12, Hendrik Boom [email protected] 
[ocaml_beginners] a écrit :
> 
> Just how did you perform the switch? The opam switch statement updates
> 
> definitions in your ~/.bashrc and a few others. When you start a
> new shell that runs this file, you won't fully be in the new
> environment.
> 
> There is a command that does this update in the same shell, but frget
> just what it is at the moment.
> 
> (I'm saying this from a Linux perspective; I presume that cygwin is
> the
> same.)
> 

This is the same in cygwin, the opam env is declared in .bash_profile :

# OPAM configuration
. /home/dailly/.opam/opam-init/init.sh > /dev/null 2> /dev/null || true

I've tried to close my shell and open another one terminal but this did 
not work.