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 FAA10456; Sun, 30 May 2004 05:57:08 +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 FAA10843 for ; Sun, 30 May 2004 05:57:07 +0200 (MET DST) Received: from smtp3.adl2.internode.on.net (smtp3.adl2.internode.on.net [203.16.214.203]) by concorde.inria.fr (8.12.10/8.12.10) with ESMTP id i4U3v4SH014597 for ; Sun, 30 May 2004 05:57:05 +0200 Received: from [192.168.1.200] (ppp114-11.lns1.syd3.internode.on.net [150.101.114.11]) by smtp3.adl2.internode.on.net (8.12.9/8.12.9) with ESMTP id i4U3v1k2076912; Sun, 30 May 2004 13:27:02 +0930 (CST) Subject: Re: [Caml-list] Newbie question re ocamlopt on WindowsXP From: skaller Reply-To: skaller@users.sourceforge.net To: Kurt Luoto Cc: caml-list In-Reply-To: References: Content-Type: text/plain Message-Id: <1085889420.3036.343.camel@pelican.wigram> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 (1.2.2-4) Date: 30 May 2004 13:57:00 +1000 Content-Transfer-Encoding: 7bit X-Miltered: at concorde with ID 40B95B90.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Loop: caml-list@inria.fr X-Spam: no; 0.00; caml-list:01 newbie:01 ocamlopt:01 windowsxp:01 sourceforge:01 2004:99 ocamlopt:01 'ml':01 recognized:99 filenames:01 filenames:01 dispatching:01 9660:01 glebe:01 ocaml:01 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Sun, 2004-05-30 at 07:16, Kurt Luoto wrote: > 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 > > Could someone kindly tell me what silly error I am making? > Guess: probably none more serious that using spaces in filenames. This is really bad idea on Windows, since most Windows tools are so badly written they do not handle this correctly! On Win98 the *EXPLORER* doesn't handle this correctly! [I don't mean IE, I mean the actual windows explorer file manager!!] It is possible the mishandling of filenames is in the Ocaml driver.. when dispatching programs with Windows via a command line all filenames must be quoted (in case they have spaces in them). -- John Skaller, mailto:skaller@users.sf.net voice: 061-2-9660-0850, snail: PO BOX 401 Glebe NSW 2037 Australia Checkout the Felix programming language http://felix.sf.net ------------------- 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