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
[Caml-list] Newbie question re ocamlopt on WindowsXP
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2004-05-30 (06:56)
From: Eugene Kotlyarov <ekot@n...>
Subject: Re: [Caml-list] Newbie question re ocamlopt on WindowsXP
Kurt Luoto wrote:

> Now I would like to compile a standalone version of the program using
> ocamlopt.  However, whenever I attempt to compile a ".ml" file, I get a
> message such as the following:
> C:\Documents and Settings\Kurt\My Documents\Xyz\src>ocamlopt -c
> 'ml' is not recognized as an internal or external command,
> operable program or batch file.
> Assembler error, input left in file
> C:\DOCUME~1\KURT~1\LOCALS~1\Temp\camlasmd80d01.asm
Probably you didn't install or didn't add to %PATH% Microsoft Assembler 
MASM which is required for MSVC ocaml port. Here is the passage from file from ocaml distribution.

The native-code compiler (ocamlopt) requires Visual C++ and the
Microsoft assembler MASM version 6.11 or later.  MASM can be
downloaded for free from Microsoft's Web site; for directions, see
     or  the comp.lang.asm.x86 FAQ.

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: