Version française
Home     About     Download     Resources     Contact us    
Browse thread
OCaml on Windows help
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Raj Bandyopadhyay <rajb@r...>
Subject: OCaml on Windows help
Hi

I installed OCaml on Windows XP (the MSVC version, since I assume  
that's faster than
the Cygwin version?). I'm having trouble compiling OCaml programs  
from the command line and I wonder if it's a bug or just my lack of  
Windows knowledge.

I created a sample program test.ml and here's what happens

 > ocamlopt -o test.exe test.ml
-----------
'ml' is not recognized as an internal or external command,
operable program or batch file

Assembler error, input left in file....
-------------

Using ocamlc instead of ocamlopt seems to work fine, at least there are
no compilation errors.

Any suggestions on what I should do?

Thanks
Raj