New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with ocamlmktop in native win32 #2790
Comments
Comment author: administrator
No idea. To help track down the problem, you could first try to issue You could also try the following commands:
(should print the location of the standard library)
|
Comment author: administrator Hi Xavier,
I tried it and it worked (but only after I got the path right in NT shell): D:>ocamlc -v D:>ocamlmktop -v D:>ocamlmktop -verbose -o ocamlstr str.cma
D:>ocamlstr Str.regexp;;
#quit;;D:> The resulted "ocamlstr" can be invoked from both Windows shell and Cygwin ~ <506> ocamlc -v Also, I got the same error msg when I tried to generate an executable by ~/extract-tables <502> make bin-cmo Any idea how I can make it to work in Cygwin? It will be very painful if I Thanks in advance!!!
|
Comment author: administrator
Check the COMSPEC environment variable. It should point to the Windows (Explanation: the Win32 version of OCaml executes other commands via
There are plenty of "make" commands for Windows, e.g. Microsoft's nmake.
|
Comment author: administrator User's problem (COMSPEC variable). |
Original bug ID: 387
Reporter: administrator
Status: closed
Resolution: not a bug
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)
Bug description
I installed the native win32 version of O'Caml 3.01 on a Windows NT
(v.4) PC. The basic top-level ocaml worked just fine. But when I
tried to build a new top-level containing the str library:
from a Cygwin bash shell, I got the following error message:
What was wrong?
I should point out that, because I didn't have enough space on the C:
drive, I installed O'Caml under D: drive; the complete path of the
O'Caml directory was D:\caml\ocaml-3.01-win. Also, the value of the
environmental variable CAMLLIB in the bash shell was
'd:/caml/ocaml-3.01-win/lib'.
Thanks in advance!
The text was updated successfully, but these errors were encountered: