|Anonymous | Login | Signup for a new account||2017-02-19 15:32 CET|
|Main | My View | View Issues | Change Log | Roadmap|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0005459||OCaml||OCaml general||public||2012-01-02 20:09||2013-08-31 12:44|
|Platform||x86_64||OS||Debian GNU/Linux||OS Version||3.10.0|
|Target Version||Fixed in Version|
|Summary||0005459: ocamlc -o not respected for C files|
|Description||When compiling a C file with ocamlc, the -o flag can be set but is not used. It is occasionally useful however, for example when different objects files may be produced by defining some macros.|
|Tags||No tags attached.|
It looks like there are still some C compilers that don't comply to the -o option. If we don't use the C compiler -o option, ocamlc has to rename the object file itself, but then, it might clash with parallel compilation.
For these reasons, this feature is "suspended" until all known C compilers implement the -o option correctly.
Note that it is still possible to use -o with C files using the -ccopt option, if you don't care too much about portability across C compilers.
|2012-01-02 20:09||Christophe Troestler||New Issue|
|2012-01-17 23:21||lefessan||Note Added: 0006710|
|2012-01-17 23:21||lefessan||Status||new => resolved|
|2012-01-17 23:21||lefessan||Resolution||open => suspended|
|2012-01-17 23:21||lefessan||Assigned To||=> lefessan|
|2013-08-31 12:44||xleroy||Status||resolved => closed|
|Copyright © 2000 - 2011 MantisBT Group|