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 TAA19993; Wed, 14 Nov 2001 19:15:20 +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 TAA19794 for ; Wed, 14 Nov 2001 19:15:19 +0100 (MET) Received: from mail.mimuw.edu.pl (paf87.warszawa.sdi.tpnet.pl [217.96.225.87]) by concorde.inria.fr (8.11.1/8.10.0) with ESMTP id fAEIFFX04879 for ; Wed, 14 Nov 2001 19:15:16 +0100 (MET) Received: (from news@localhost) by mail.mimuw.edu.pl (PLD/8.9.3) id TAA04547 for caml-list@inria.fr; Wed, 14 Nov 2001 19:15:55 +0100 X-Authentication-Warning: qrnik.zagroda: news set sender to Marcin 'Qrczak' Kowalczyk using -f From: "Marcin 'Qrczak' Kowalczyk" Subject: [Caml-list] Output directory of .cmo / .cmx / .o Date: Wed, 14 Nov 2001 18:15:52 +0000 (UTC) Organization: Klub Nieszkodliwych =?iso-8859-2?Q?Manjak=F3w?= Message-ID: X-Trace: qrnik.zagroda 1005761752 4302 192.168.0.1 (14 Nov 2001 18:15:52 GMT) X-Complaints-To: abuse@localhost NNTP-Posting-Date: Wed, 14 Nov 2001 18:15:52 +0000 (UTC) User-Agent: slrn/0.9.7.2 (Linux) To: caml-list@inria.fr Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Running ocamlc -c dir/file.ml produces dir/file.cmo. Running ocamlopt -c dir/file.ml produces dir/file.{cmx,o}. Running ocaml{c,opt} -c dir/file.c produces file.o in the current directory. It's inconsistent. Is it possible to let the OCaml compiler let the C compiler put .o files resulting from .c files in the same directory as their sources if the current directory is different? -o applies only to executable or library. I can move files by hand but perhaps it can be done better. -- __("< Marcin Kowalczyk * qrczak@knm.org.pl http://qrczak.ids.net.pl/ \__/ ^^ QRCZAK ------------------- Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr