caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Raj Bandyopadhyay <rajb@rice.edu>
To: caml-list@yquem.inria.fr
Subject: OCaml on Windows help
Date: Sun, 14 Oct 2007 08:14:49 -0500	[thread overview]
Message-ID: <C1CC90E3-4CE5-45CA-9865-87EA7E0F6DFA@rice.edu> (raw)

Hi

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

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

Thanks
Raj



             reply	other threads:[~2007-10-14 13:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-14 13:14 Raj Bandyopadhyay [this message]
2007-10-14 13:34 ` [Caml-list] " Dominique Martinet
2007-10-14 17:55 ` David Allsopp
     [not found] <20071015080212.A2DD5BC73@yquem.inria.fr>
2007-10-22 22:10 ` William Smith

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=C1CC90E3-4CE5-45CA-9865-87EA7E0F6DFA@rice.edu \
    --to=rajb@rice.edu \
    --cc=caml-list@yquem.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;
as well as URLs for NNTP newsgroup(s).