Installed Ocaml on my cygwin machine but simple compiles fail. Permissions are fine as you can see by the interaction below. OCAMLLIB is right; What is wrong?
A possible solution is to run this command in cygwin:
export OCAMLLIB=C:\\OCaml\\lib
The clue came from this message thread.