[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Dmitry Bely <dmitry.bely@g...> |
| Subject: | ocamlc/ocamlopt output directory |
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