Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Eugene Kotlyarov <ekot@narod.ru>
To: caml-list@inria.fr
Subject: Re: [Caml-list] Newbie question re ocamlopt on WindowsXP
Date: Sun, 30 May 2004 10:55:59 +0400	[thread overview]
Message-ID: <40B9857F.9020906@narod.ru> (raw)
In-Reply-To: <E1BUBBH-0003Do-00@granger.mail.mindspring.net>

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


      parent reply	other threads:[~2004-05-30  6:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-29 21:16 Kurt Luoto
2004-05-30  3:57 ` skaller
2004-05-30  6:55 ` Eugene Kotlyarov [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=40B9857F.9020906@narod.ru \
    --to=ekot@narod.ru \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox