From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by yquem.inria.fr (Postfix) with ESMTP id A928EBB9A for ; Thu, 6 Oct 2005 21:46:57 +0200 (CEST) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id j96Jkvpj013351 for ; Thu, 6 Oct 2005 21:46:57 +0200 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 VAA20193 for ; Thu, 6 Oct 2005 21:46:56 +0200 (MET DST) Received: from web26810.mail.ukl.yahoo.com (web26810.mail.ukl.yahoo.com [217.146.176.86]) by concorde.inria.fr (8.13.0/8.13.0) with SMTP id j96Jkudx026790 for ; Thu, 6 Oct 2005 21:46:56 +0200 Received: (qmail 98371 invoked by uid 60001); 6 Oct 2005 19:46:55 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.de; h=Message-ID:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=z4PFN/7M04vEAioi7d/E6TgjxNYDtOE/CsshxfAhP2vir6sXIWth8J0gGaT+odFyYJzQWEimf9FB5lRE9PsLWAFNw242Hg2B7SvMll3wYNQtu+xT61y+Va5fU4n0ksUu8+/4WnpIOpXGt3jlhkPFTHfvSILODjt893RuzZBhlRI= ; Message-ID: <20051006194655.98369.qmail@web26810.mail.ukl.yahoo.com> Received: from [212.152.17.60] by web26810.mail.ukl.yahoo.com via HTTP; Thu, 06 Oct 2005 21:46:55 CEST Date: Thu, 6 Oct 2005 21:46:55 +0200 (CEST) From: Martin Chabr Subject: Ant: [Caml-list] ocamlopt problem To: Rasool Karimi Cc: caml-list@inria.fr In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Miltered: at nez-perce with ID 43457F31.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at concorde with ID 43457F30.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 ocamlopt:01 summarize:01 compiler:01 apt-get:01 ocaml:01 debugger:01 guis:01 ocamlopt:01 compiler:01 mli:01 ocamlc:01 compilation:01 caml-list:01 beginner's:01 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.0.3 Hello Karimi, I can see from the backslashes that Windows is involved. I have had some problems with Windows, but it works now. I do not remember the error messages. Let me just summarize all that you need: - Install MS C++ and MS Assembler (free from the Web) - make sure that all paths to bin directories are set properly - always work with the Console which is attached to your C++ compiler (the icon is set up when you install it), never the Windows Console I use Windows 2000. I have never tried the other two options for compiling under Windows (Cygwin etc.) I also have Debian/Knoppix-Linux. There you install everything easily as a Debian package with apt-get and everything just works. OCaml is better supported under Linux (debugger, more tools, GUIs etc.) Regards, Martin --- Rasool Karimi schrieb: > Dear all freinds, > When I compile a .ml file with ocamlopt compiler, an > error message is shown > with this message:"Der Befehl "as" ist entweder > falsch geschrieben oder > konnte nicht gefunden werden, Assembler error, input > left in file > C:\DOKUME~1\karinu\LOKALE~1\Temp\camlasm9312 7a.s". > Part of this message is > in german and translation of it in english is : "The > instruction "as" is > either wrongly written or could not not be found". > But when I compile a .mli > file, this message is not shown and file is compiled > successfully. Also when > I compile a .ml file with ocamlc compiler, there is > no error and compilation > is done successfully. So there is not error in my > program and this error > maybe is related to ocamlopt compiler. > Is there any body who can help me? It is very > emergent. > Thanks, > Karimi. > > _______________________________________________ > Caml-list mailing list. Subscription management: > http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list > Archives: http://caml.inria.fr > Beginner's list: > http://groups.yahoo.com/group/ocaml_beginners > Bug reports: http://caml.inria.fr/bin/caml-bugs > ___________________________________________________________ Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de