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 OAA06647; Sat, 21 Sep 2002 14:18:41 +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 OAA06937 for ; Sat, 21 Sep 2002 14:18:40 +0200 (MET DST) Received: from mx7.mail.ru (mx7.mail.ru [194.67.57.17]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id g8LCIe524777 for ; Sat, 21 Sep 2002 14:18:40 +0200 (MET DST) Received: from drweb by mx7.mail.ru with drweb-scanned (Exim MX.7) id 17sjDb-000Lx3-00 for caml-list@inria.fr; Sat, 21 Sep 2002 16:18:39 +0400 Received: from [195.210.132.36] (helo=ROVER1) by mx7.mail.ru with esmtp (Exim SMTP.7) id 17sjDY-000LtE-00 for caml-list@inria.fr; Sat, 21 Sep 2002 16:18:38 +0400 X-Comment-To: Hallvard Ystad To: caml-list@inria.fr Subject: Re: [Caml-list] beginner's questions References: <5.1.1.6.2.20020921130501.0280a058@helpinhand.com> From: Dmitry Bely Date: Sat, 21 Sep 2002 16:17:11 +0400 In-Reply-To: <5.1.1.6.2.20020921130501.0280a058@helpinhand.com> (Hallvard Ystad's message of "Sat, 21 Sep 2002 13:35:10 +0200") Message-ID: <3cs3zge0.fsf@mail.ru> User-Agent: Gnus/5.090005 (Oort Gnus v0.05) XEmacs/21.4 (Common Lisp (Windows [3]), i586-pc-win32) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Envelope-To: caml-list@inria.fr Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Hallvard Ystad writes: > I'm just about to get started with caml, but I encounter a few problems. > To do something simple, I took Stephan Houben's calc.ml (from > http://caml.inria.fr/FAQ/stephan.html), added a function to avoid division > by zero, and tried to compile it to native code using ocamlopt (on a > windows 2000 machine). Here's what I get: > D:\ocaml>ocamlopt calc.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\............\Temp\camlasm8c5322.asm > Did I miss something? Am I dumb? I've tried to read the documentation for > compiling (found in differen FAQs), but none of them seem to mention > special constraints for the windows platform. They do. See readme.win32: [---cut---] Release notes on the MS Windows ports of Objective Caml ------------------------------------------------------- Starting with OCaml 3.05, there are no less than three ports of Objective Caml for MS Windows available: - a native Win32 port, built with the Microsoft development tools; - a native Win32 port, built with the MinGW development tools; - a port consisting of the Unix sources compiled under the Cygwin Unix-like environment for Windows. Here is a summary of the main differences between these ports: Native MS Native MinGW Cygwin Third-party software required - for base bytecode system none none none - for ocamlc -custom MSVC MinGW or Cygwin Cygwin - for native-code generation MSVC+MASM MinGW or Cygwin Cygwin [---cut---] So if you are going to use ocamlopt from win32 binary distribution, you have to install Microsoft Visual C and Microsoft Macro Assembler on your computer. > Second issue (not a problem!): when I try to run the ocamlbrowser, it > complains about not finding tk83.dll and tcl83.dll. Well, I seem to have a > version too new for this. My files are tk84.dll and tcl84.dll. I had to > make copies of them with the "older" names for ocamlbrowser to work... Again, the binary build expects Tcl/Tk 8.3 installed. To work with other version you can rebuild the whole Ocaml from the sources. > Hope someone can help with the compile problem (and maybe tell me how to > compile with the regexp library too?). Which one? E.g. module "Str" is already included into the standard library. - Dmitry Bely ------------------- 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