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 PAA05251; Mon, 3 Feb 2003 15:52:57 +0100 (MET) 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 PAA04542 for ; Mon, 3 Feb 2003 15:52:56 +0100 (MET) Received: from lachesis.inria.fr (lachesis.inria.fr [128.93.52.5]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id h13Eqtf03477; Mon, 3 Feb 2003 15:52:55 +0100 (MET) Received: (from lefessan@localhost) by lachesis.inria.fr (8.12.5/8.12.5/Submit) id h13DxHX4010063; Mon, 3 Feb 2003 14:59:17 +0100 From: Fabrice Le Fessant MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <15934.30132.529083.341988@lachesis.inria.fr> Date: Mon, 3 Feb 2003 14:59:16 +0100 To: Nicolas George Cc: caml-list@inria.fr Subject: Re: [Caml-list] malfunctioning -o command-line argument? References: <20030203012423.GA3729@clipper.ens.fr> X-Mailer: VM 7.07 under Emacs 21.2.1 Reply-To: fabrice@lefessant.net Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk > Le quintidi 15 pluviôse, an CCXI, Ohad Rodeh a écrit : > > ocamlc -c foo.ml -o /tmp/foo.cmo > > will create foo.cmo in the current directory rather then /tmp. 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 - Fabrice ------------------- 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