Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] malfunctioning -o command-line argument?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2003-02-06 (10:16)
From: Stefano Zacchiroli <zack@b...>
Subject: Re: [Caml-list] malfunctioning -o command-line argument?
On Mon, Feb 03, 2003 at 02:59:16PM +0100, Fabrice Le Fessant wrote:
> Arguments are treated in the order they are read: here, is
> compiled before, and the -o option is added after. Fix:
> ocamlc -c -o /tmp/foo.cmo

This doesn't work for me, are you sure?

   ~$ cat 
   prerr_endline "a";;
   ~$ ocamlc -c -o /tmp/a.cmo 
   ~$ ls a.*
   a.cmi  a.cmo
   ~$ ls /tmp/a.*
   ls: /tmp/a.*: No such file or directory


Stefano Zacchiroli  -  Undergraduate Student of CS @ Uni. Bologna, Italy
zack@{,,}  -
"  I know you believe you understood what you think I said, but I am not
sure you realize that what you heard is not what I meant!  " -- G.Romney
To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: