English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
[Caml-list] Newbie question re ocamlopt on WindowsXP
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2004-05-30 (03:57)
From: skaller <skaller@u...>
Subject: Re: [Caml-list] Newbie question re ocamlopt on WindowsXP
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