Ocaml is installed on my cygwin machine, but simple compilers fail. The permissions are great, as you can see from the interaction below. OCAMLLIB is right; What's wrong?
$ cat t.ml
print_string "hi";
$ ocamlopt t.ml
>> Fatal error: cannot open pervasives.cmi
Fatal error: exception Misc.Fatal_error
$ echo $OCAMLLIB
/cygdrive/c/OCaml/lib
$ ls -l /cygdrive/c/OCaml/lib/pervasives.cmi
-rwxrwxrwx+ 1 Lyn None 15094 Oct 8 01:30 /cygdrive/c/OCaml/lib/pervasives.cmi
source
share