Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
* ocamlc/ocamlopt output directory
@ 2008-02-04 14:01 Dmitry Bely
  2008-02-04 15:11 ` [Caml-list] " Romain Bardou
  0 siblings, 1 reply; 2+ messages in thread
From: Dmitry Bely @ 2008-02-04 14:01 UTC (permalink / raw)
  To: ocaml

By default Ocaml compilers place output files to the same directory
where the source resides:

ocamlc -c ../src/foo.ml -> generates ../src//foo.cmo, not ./foo.cmo as
one would expect from other compilers experience!

This can be overwritten by -o flag, but it's a) completely
undocumented for this purpose (manual says that it only affects the
linking phase) and b) affects ALL generated files at once.

Is this the design decision or just a faulty implementation? Should I
submit a bug report (together with a rather trivial fix) or this
behavior considered standard because it's too late to change anything?

- Dmitry Bely


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

end of thread, other threads:[~2008-02-04 15:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-04 14:01 ocamlc/ocamlopt output directory Dmitry Bely
2008-02-04 15:11 ` [Caml-list] " Romain Bardou

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox