caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* Re : [Caml-list] OCaml on Windows help
@ 2007-10-14 15:26 bvwebmaster3000-caml
  2007-10-14 17:18 ` Christophe TROESTLER
  0 siblings, 1 reply; 2+ messages in thread
From: bvwebmaster3000-caml @ 2007-10-14 15:26 UTC (permalink / raw)
  To: caml-list

[-- Attachment #1: Type: text/plain, Size: 1427 bytes --]

Hello,

If I were you, I'd have put ocamlc instead of ocamlopt.

Regards

----- Message d'origine ----
De : Raj Bandyopadhyay <rajb@rice.edu>
À : caml-list@yquem.inria.fr
Envoyé le : Dimanche, 14 Octobre 2007, 15h14mn 49s
Objet : [Caml-list] OCaml on Windows help

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


_______________________________________________
Caml-list mailing list. Subscription management:
http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
Archives: http://caml.inria.fr
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs






      _____________________________________________________________________________ 
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail 

[-- Attachment #2: Type: text/html, Size: 2175 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Re : [Caml-list] OCaml on Windows help
  2007-10-14 15:26 Re : [Caml-list] OCaml on Windows help bvwebmaster3000-caml
@ 2007-10-14 17:18 ` Christophe TROESTLER
  0 siblings, 0 replies; 2+ messages in thread
From: Christophe TROESTLER @ 2007-10-14 17:18 UTC (permalink / raw)
  To: bvwebmaster3000-caml; +Cc: caml-list

On Sun, 14 Oct 2007 15:26:59 +0000 (GMT),  wrote:
> 
> I installed OCaml on Windows XP (...)
> 
>  > 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....

Please have a look to the INSTALL.win32 :

  http://camlcvs.inria.fr/cgi-bin/cvsweb/ocaml/README.win32?rev=1.40

You need to install additional software from MS.

Cheers,
ChriS


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-10-14 17:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-10-14 15:26 Re : [Caml-list] OCaml on Windows help bvwebmaster3000-caml
2007-10-14 17:18 ` Christophe TROESTLER

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).