Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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

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 and here's what happens

 > ocamlopt -o test.exe
'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?