From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.9 required=5.0 tests=AWL,DNS_FROM_RFC_ABUSE, HTML_MESSAGE,NO_REAL_NAME autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by yquem.inria.fr (Postfix) with ESMTP id 89957BC69 for ; Sun, 14 Oct 2007 17:27:01 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ao8CAKvREUfZkrELWmdsb2JhbACCcopgagEUBAYDBiCBJw X-IronPort-AV: E=Sophos;i="4.21,273,1188770400"; d="scan'208,217";a="3006327" Received: from web27011.mail.ukl.yahoo.com ([217.146.177.11]) by mail2-smtp-roc.national.inria.fr with SMTP; 14 Oct 2007 17:27:01 +0200 Received: (qmail 59170 invoked by uid 60001); 14 Oct 2007 15:27:00 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.fr; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=VVx0a1ySfvYhBFkqy8GEijgkD2ML5Mu0rzDdw2AQK9bcMg8B/TGossaVEP3GbcgC71GCeNdIoXb+ots+GDqpcasF6thuHxpLAeMIuQZCD8adb6EMvoLbo1c8zP5M0guzYTCQnntXys7r3n6sTlLsHBAVoYEQR1znzJkjHrd26UQ=; X-YMail-OSG: RVvART8VM1ntX1J4J0tDNvxmy8Al1YDhgDC6Ee3UBS.qzdZ94_mMnyIkeXEwN1C3CiEjJfd.w9cNhTD4ryMRsMSr851Ta3QLUA-- Received: from [217.128.47.156] by web27011.mail.ukl.yahoo.com via HTTP; Sun, 14 Oct 2007 15:26:59 GMT X-Mailer: YahooMailRC/814.05 YahooMailWebService/0.7.134.12 Date: Sun, 14 Oct 2007 15:26:59 +0000 (GMT) From: bvwebmaster3000-caml@yahoo.fr Subject: Re : [Caml-list] OCaml on Windows help To: caml-list@yquem.inria.fr MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-136455128-1192375619=:59020" Message-ID: <139806.59020.qm@web27011.mail.ukl.yahoo.com> X-Spam: no; 0.00; ocaml:01 ocamlc:01 ocamlopt:01 ocaml:01 cygwin:01 bug:01 ocamlopt:01 'ml':01 ocamlc:01 compilation:01 beginner's:01 bug:01 cygwin:01 'ml':01 compilation:01 --0-136455128-1192375619=:59020 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Hello,=0A=0AIf I were you, I'd have put ocamlc instead of ocamlopt.=0A=0ARe= gards=0A=0A----- Message d'origine ----=0ADe : Raj Bandyopadhyay =0A=C0 : caml-list@yquem.inria.fr=0AEnvoy=E9 le : Dimanche, 14 Octobre= 2007, 15h14mn 49s=0AObjet : [Caml-list] OCaml on Windows help=0A=0AHi=0A= =0AI installed OCaml on Windows XP (the MSVC version, since I assume =0Ath= at's faster than=0Athe Cygwin version?). I'm having trouble compiling OCaml= programs =0Afrom the command line and I wonder if it's a bug or just my l= ack of =0AWindows knowledge.=0A=0AI created a sample program test.ml and h= ere's what happens=0A=0A > ocamlopt -o test.exe test.ml=0A-----------=0A'ml= ' is not recognized as an internal or external command,=0Aoperable program = or batch file=0A=0AAssembler error, input left in file....=0A-------------= =0A=0AUsing ocamlc instead of ocamlopt seems to work fine, at least there a= re=0Ano compilation errors.=0A=0AAny suggestions on what I should do?=0A=0A= Thanks=0ARaj=0A=0A=0A_______________________________________________=0ACaml= -list mailing list. Subscription management:=0Ahttp://yquem.inria.fr/cgi-bi= n/mailman/listinfo/caml-list=0AArchives: http://caml.inria.fr=0ABeginner's = list: http://groups.yahoo.com/group/ocaml_beginners=0ABug reports: http://c= aml.inria.fr/bin/caml-bugs=0A=0A=0A=0A=0A=0A=0A ______________________= _______________________________________________________ =0ANe gardez plus q= u'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail --0-136455128-1192375619=:59020 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
Hello,

If I were you, I'd have put ocamlc in= stead of ocamlopt.

Regards

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

Hi

I installed OCaml= on Windows XP (the MSVC version, since I assume 
that's faster th= an
the Cygwin version?). I'm having trouble compiling OCaml programs&nbs= p;
from the command line and I wonder if it's a bug or just my lack of&= nbsp;
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,
operabl= e 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
Ar= chives: http://caml.inri= a.fr
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners=
Bug reports: http://caml.inria.fr/bin/caml-bugs


=0A=0A=0A=0A
=0ANe gardez plus qu'une seul= e adresse mail ! Copiez vos= mails vers Yahoo! Mail --0-136455128-1192375619=:59020-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by yquem.inria.fr (Postfix) with ESMTP id 7190BBC69 for ; Sun, 14 Oct 2007 19:19:00 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAAOrrEUfUNQVbn2dsb2JhbACORgEBAQEHAggJIA X-IronPort-AV: E=Sophos;i="4.21,274,1188770400"; d="scan'208";a="2936847" Received: from postbode01.versateladsl.be ([212.53.5.91]) by mail1-smtp-roc.national.inria.fr with ESMTP; 14 Oct 2007 19:19:00 +0200 Received: (qmail 22427 invoked by uid 0); 14 Oct 2007 17:18:56 -0000 Received: from unknown (HELO poincare.swapping.umh.ac.be) ([83.182.208.47]) (envelope-sender ) by smtp.versateladsl.be (qmail-ldap-1.03) with SMTP for < >; 14 Oct 2007 17:18:56 -0000 Received: from [127.0.0.1] (helo=localhost ident=trch) by poincare.swapping.umh.ac.be with esmtp (Exim 4.67) (envelope-from ) id 1Ih777-0006Wl-Vd; Sun, 14 Oct 2007 19:18:54 +0200 Date: Sun, 14 Oct 2007 19:18:53 +0200 (CEST) Message-Id: <20071014.191853.119928094.Christophe.Troestler+ocaml@umh.ac.be> To: bvwebmaster3000-caml@yahoo.fr Cc: caml-list@yquem.inria.fr Subject: Re: Re : [Caml-list] OCaml on Windows help From: Christophe TROESTLER In-Reply-To: <139806.59020.qm@web27011.mail.ukl.yahoo.com> References: <139806.59020.qm@web27011.mail.ukl.yahoo.com> X-Face: #2fb%mPx>rRL@4ff~TVgZ"<[:,oL"`TUEGK/[8/qb58~C>jR(x4A+v/n)7BgpEtIph_neoLKJBq0JBY9:}8v|j Organization: University of Mons-Hainaut X-Mailer: Mew version 5.2.51 on Emacs 22.1 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam: no; 0.00; ocaml:01 christophe:01 troestler:01 christophe:01 troestler:01 ocaml:01 ocamlopt:01 'ml':01 camlcvs:01 cvsweb:01 cheers:01 wrote:01 caml-list:01 umh:01 assembler:02 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