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 mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by yquem.inria.fr (Postfix) with ESMTP id 9F5FDBC69 for ; Sun, 14 Oct 2007 15:15:00 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAAG6zEUeAKgEfkmdsb2JhbACORgEBAQEHBAYp X-IronPort-AV: E=Sophos;i="4.21,273,1188770400"; d="scan'208";a="4493551" Received: from mail.cs.rice.edu ([128.42.1.31]) by mail3-smtp-sop.national.inria.fr with ESMTP; 14 Oct 2007 15:14:59 +0200 Received: from mail.cs.rice.edu (localhost.localdomain [127.0.0.1]) by mail.cs.rice.edu (Postfix) with ESMTP id AB6102C2DEF for ; Sun, 14 Oct 2007 08:14:58 -0500 (CDT) X-Virus-Scanned: by amavis-2.4.0 at mail.cs.rice.edu Received: from mail.cs.rice.edu ([127.0.0.1]) by mail.cs.rice.edu (mail.cs.rice.edu [127.0.0.1]) (amavisd-new, port 10024) with LMTP id VzbtkVV2olwo for ; Sun, 14 Oct 2007 08:14:51 -0500 (CDT) Received: from [10.194.94.49] (nat-168-7-247-211.rice.edu [168.7.247.211]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by mail.cs.rice.edu (Postfix) with ESMTP id 0CBFD2C2DB6 for ; Sun, 14 Oct 2007 08:14:51 -0500 (CDT) Mime-Version: 1.0 (Apple Message framework v750) Content-Transfer-Encoding: 7bit Message-Id: Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: caml-list@yquem.inria.fr From: Raj Bandyopadhyay Subject: OCaml on Windows help Date: Sun, 14 Oct 2007 08:14:49 -0500 X-Mailer: Apple Mail (2.750) X-Spam: no; 0.00; ocaml:01 ocaml:01 cygwin:01 bug:01 ocamlopt:01 'ml':01 ocamlc:01 ocamlopt:01 compilation:01 msvc:01 compiling:02 assembler:02 external:03 seems:03 raj:05 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