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 CAA20467; Mon, 3 Feb 2003 02:24:25 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id CAA20339 for ; Mon, 3 Feb 2003 02:24:25 +0100 (MET) Received: from nef.ens.fr (nef.ens.fr [129.199.96.32]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id h131OOP18175 for ; Mon, 3 Feb 2003 02:24:24 +0100 (MET) Received: from clipper.ens.fr (clipper-gw.ens.fr [129.199.1.22]) by nef.ens.fr (8.10.1/1.01.28121999) with ESMTP id h131OOM80606 for ; Mon, 3 Feb 2003 02:24:24 +0100 (CET) Received: from (george@localhost) by clipper.ens.fr (8.12.3/jb-1.1) Date: Mon, 3 Feb 2003 02:24:23 +0100 From: Nicolas George To: caml-list@inria.fr Subject: Re: [Caml-list] malfunctioning -o command-line argument? Message-ID: <20030203012423.GA3729@clipper.ens.fr> References: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.4 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. > Is this a bug or a feature? According to the man page, it is a feature: -o exec-file Specify the name of the output file produced by the linker. It works for the linker, but not for the compiler. ------------------- 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