From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id IAA15106; Sun, 30 May 2004 08:56:14 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id IAA11706 for ; Sun, 30 May 2004 08:56:13 +0200 (MET DST) Received: from mx7.yandex.ru (mx7.yandex.ru [213.180.200.7]) by concorde.inria.fr (8.12.10/8.12.10) with ESMTP id i4U6uBSH031199 for ; Sun, 30 May 2004 08:56:12 +0200 Received: from ppp151-179.dialup.mtu-net.ru ([62.118.151.179]:51723 "EHLO [62.118.151.179]" smtp-auth: "ekot") by mail.yandex.ru with ESMTP id ; Sun, 30 May 2004 10:56:02 +0400 Message-ID: <40B9857F.9020906@narod.ru> Date: Sun, 30 May 2004 10:55:59 +0400 From: Eugene Kotlyarov Reply-To: ekot@narod.ru Organization: home User-Agent: Mozilla Thunderbird 1.5.0.4d (Windows/20040502) X-Accept-Language: ru, en-us, en MIME-Version: 1.0 To: caml-list@inria.fr Subject: Re: [Caml-list] Newbie question re ocamlopt on WindowsXP References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Miltered: at concorde with ID 40B9858B.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Loop: caml-list@inria.fr X-Spam: no; 0.00; ekot:01 caml-list:01 newbie:01 ocamlopt:01 windowsxp:01 ocamlopt:01 'ml':01 recognized:99 masm:01 masm:01 easystreet:01 faq:01 faq:01 compiler:01 ocaml:01 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Kurt Luoto wrote: > Now I would like to compile a standalone version of the program using > ocamlopt. However, whenever I attempt to compile a ".ml" file, I get a > message such as the following: > > C:\Documents and Settings\Kurt\My Documents\Xyz\src>ocamlopt -c xyz.ml > 'ml' is not recognized as an internal or external command, > operable program or batch file. > Assembler error, input left in file > C:\DOCUME~1\KURT~1\LOCALS~1\Temp\camlasmd80d01.asm > Probably you didn't install or didn't add to %PATH% Microsoft Assembler MASM which is required for MSVC ocaml port. Here is the passage from readme.win file from ocaml distribution. The native-code compiler (ocamlopt) requires Visual C++ and the Microsoft assembler MASM version 6.11 or later. MASM can be downloaded for free from Microsoft's Web site; for directions, see http://www.easystreet.com/~jkirwan/pctools.html or http://www2.dgsys.com/~raymoon/faq/masm.html or the comp.lang.asm.x86 FAQ. ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners