If you want to install O'Caml to work with cygwin, these notes may help you or they may not. Basically, your instructor did this a few weeks ago and wrote these notes as he went along.