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 LAA27702; Thu, 6 Feb 2003 11:16:42 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id LAA27326 for caml-list@pauillac.inria.fr; Thu, 6 Feb 2003 11:16:42 +0100 (MET) 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 JAA23553 for ; Thu, 6 Feb 2003 09:14:47 +0100 (MET) X-SPAM-Warning: Sending machine is listed in blackholes.five-ten-sg.com Received: from smtp4.cp.tin.it (vsmtp4.tin.it [212.216.176.224]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id h168Ekf02905 for ; Thu, 6 Feb 2003 09:14:46 +0100 (MET) Received: from dalamar.takhisis.org (80.117.62.23) by smtp4.cp.tin.it (6.5.033) id 3E2D4F5900604A5A for caml-list@inria.fr; Thu, 6 Feb 2003 09:14:43 +0100 Received: from lordsoth.takhisis.org (lordsoth.takhisis.org [192.168.1.119]) by dalamar.takhisis.org (Postfix) with ESMTP id 7EE46B851 for ; Thu, 6 Feb 2003 09:14:42 +0100 (CET) Received: by lordsoth.takhisis.org (Postfix, from userid 3148) id 53E917072; Thu, 6 Feb 2003 09:14:40 +0100 (CET) Date: Thu, 6 Feb 2003 09:14:39 +0100 From: Stefano Zacchiroli To: caml-list@inria.fr Subject: Re: [Caml-list] malfunctioning -o command-line argument? Message-ID: <20030206081439.GA10124@lordsoth.takhisis.org> Mail-Followup-To: caml-list@inria.fr References: <20030203012423.GA3729@clipper.ens.fr> <15934.30132.529083.341988@lachesis.inria.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <15934.30132.529083.341988@lachesis.inria.fr> User-Agent: Mutt/1.5.3i Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Mon, Feb 03, 2003 at 02:59:16PM +0100, Fabrice Le Fessant wrote: > Arguments are treated in the order they are read: here, foo.ml is > compiled before, and the -o option is added after. Fix: > > ocamlc -c -o /tmp/foo.cmo foo.ml This doesn't work for me, are you sure? ~$ cat a.ml prerr_endline "a";; ~$ ocamlc -c -o /tmp/a.cmo a.ml ~$ ls a.* a.cmi a.cmo a.ml ~$ ls /tmp/a.* ls: /tmp/a.*: No such file or directory Cheers -- Stefano Zacchiroli - Undergraduate Student of CS @ Uni. Bologna, Italy zack@{cs.unibo.it,debian.org,bononia.it} - http://www.bononia.it/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 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