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 NAA05687; Sat, 21 Sep 2002 13:30:15 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id NAA04605 for ; Sat, 21 Sep 2002 13:30:15 +0200 (MET DST) Received: from mail.helpinhand.com ([195.204.121.12]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id g8LBUED29120 for ; Sat, 21 Sep 2002 13:30:14 +0200 (MET DST) Received: from [62.179.158.177] (HELO daniello.helpinhand.com) by mail.helpinhand.com (CommuniGate Pro SMTP 3.2) with ESMTP id 711540 for caml-list@inria.fr; Sat, 21 Sep 2002 13:32:20 +0200 X-URL: Message-Id: <5.1.1.6.2.20020921130501.0280a058@helpinhand.com> X-Sender: hallvard.ystad@helpinhand.com X-Mailer: QUALCOMM Windows Eudora Version 5.1.1 Date: Sat, 21 Sep 2002 13:35:10 +0200 To: caml-list@inria.fr From: Hallvard Ystad Subject: [Caml-list] beginner's questions Mime-Version: 1.0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Hello

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. Any tips about what to do?

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

Hope someone can help with the compile problem (and maybe tell me how to compile with the regexp library too?).

Regards,
~HY

Pr=E6tera censeo Carthaginem esse delendam
------------------- 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