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
Re : [Caml-list] 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: 2007-10-14 (15:27)
From: bvwebmaster3000-caml@y...
Subject: Re : [Caml-list] OCaml on Windows help

If I were you, I'd have put ocamlc instead of ocamlopt.


----- Message d'origine ----
De : Raj Bandyopadhyay <>
À :
Envoyé le : Dimanche, 14 Octobre 2007, 15h14mn 49s
Objet : [Caml-list] 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?


Caml-list mailing list. Subscription management:
Beginner's list:
Bug reports:

Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail