caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] Output directory of .cmo / .cmx / .o
@ 2001-11-14 18:15 Marcin 'Qrczak' Kowalczyk
  2001-11-14 22:35 ` malc
  2001-11-15  8:53 ` Sven
  0 siblings, 2 replies; 4+ messages in thread
From: Marcin 'Qrczak' Kowalczyk @ 2001-11-14 18:15 UTC (permalink / raw)
  To: caml-list

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2001-11-16  7:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <9surso$q00$1@qrnik.zagroda>
2001-11-16  7:13 ` [Caml-list] Output directory of .cmo / .cmx / .o Marcin 'Qrczak' Kowalczyk
2001-11-14 18:15 Marcin 'Qrczak' Kowalczyk
2001-11-14 22:35 ` malc
2001-11-15  8:53 ` Sven

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).