caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Shailesh Khandekar <shailesh.khandekar@gmail.com>
To: Sam Block <sjb4g@virginia.edu>
Cc: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] Help on installing OCaml on Windows XP
Date: Sun, 01 Feb 2009 09:04:53 +0530	[thread overview]
Message-ID: <4985185D.4000109@gmail.com> (raw)
In-Reply-To: <37AC9FC7-8323-45C4-9AD3-2B9C6D9DF913@virginia.edu>

Hello Sam,
> 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
Ocamlopt is looking for the assembler, i.e. 'as' command. Looks like the 
binutils is missing on the target machine. You can get it from:
    
http://sourceforge.net/project/showfiles.php?group_id=2435&package_id=11290&release_id=19108

The Ocaml download page for binary distribution for Microsoft Windows at:
     http://caml.inria.fr/download.en.html
mentions that, some features require the Cygwin environment (for MinGW) 
and similar for MSVC.

I'm curious to find out whether it would work with just a mingw-msys 
installation, without using Cygwin. Waiting for the download to finish 
on my machine.

Best regards,

Shailesh S. Khandekar,
Pune.


  reply	other threads:[~2009-02-01  3:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-01  1:05 Sam Block
2009-02-01  3:34 ` Shailesh Khandekar [this message]
2009-02-01 10:42 ` [Caml-list] " 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=4985185D.4000109@gmail.com \
    --to=shailesh.khandekar@gmail.com \
    --cc=caml-list@yquem.inria.fr \
    --cc=sjb4g@virginia.edu \
    /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).