Browse thread
[Caml-list] Newbie question re ocamlopt on WindowsXP
-
Kurt Luoto
- skaller
- Eugene Kotlyarov
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| 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 xyz.ml
> '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
readme.win 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
http://www.easystreet.com/~jkirwan/pctools.html
or http://www2.dgsys.com/~raymoon/faq/masm.html
or the comp.lang.asm.x86 FAQ.
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners