caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Sam Block <sjb4g@virginia.edu>
To: caml-list@yquem.inria.fr
Subject: Help on installing OCaml on Windows XP
Date: Sat, 31 Jan 2009 20:05:36 -0500	[thread overview]
Message-ID: <37AC9FC7-8323-45C4-9AD3-2B9C6D9DF913@virginia.edu> (raw)

Hi all!  I'm new to the list, and am having a fair amount of trouble  
getting OCaml up and running on Windows XP (I have it running on Linux  
just fine).

Here's my goal: I want to run ocamlopt and have a binary executable  
for my project on Windows and be able to give it to my friend and have  
it run; this would rule out Cygwin, since I'd need extra .dll files.   
I don't want that, so I wanted to go ahead and download one of the  
other OCaml binary installables (MSVC or MinGW).  However, I tried  
both, and I keep getting the same error:

>> ocamlopt -o geomancian figures.ml geomancian.ml
>
> 'as' is not recognized as an internal or external command, operable
> program or batch file.
> File "figures.ml", line 1, characters 0-1:
> Error: Assembler error, input left in file <directory
> omitted>\camlasme1fe97.s

I'm at a loss of what to do next.  I've googled for pages and pages of  
results that, while this problem isn't uncommon, I haven't found any  
solution to it.  I feel bad asking this, but could someone guide me  
through the installation on Windows step-by-step?  I'd really  
appreciate it.

Thanks!
-Sam Block


             reply	other threads:[~2009-02-01  1:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-01  1:05 Sam Block [this message]
2009-02-01  3:34 ` [Caml-list] " Shailesh Khandekar
2009-02-01 10:42 ` Christophe TROESTLER

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=37AC9FC7-8323-45C4-9AD3-2B9C6D9DF913@virginia.edu \
    --to=sjb4g@virginia.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).