ocaml/utils
Sébastien Hinderer 54e6aecd77 Improve handling of platforms that do not have gprof profiling support (#933)
This commit modifies these two behaviours:

1. ``make install'' installs libraries with profiling support only when
this makes sense.

2. On platforms that do not support profiling with gprof, the -p option of
ocamlopt produces an error message.
On such platforms, ``make install'' was installing dummy profiling
libraries and ocamlopt's -p option was silently ignored.

In addition, this commit modifies the values of the PROFILING make
variable. Before the commit it was either prof or noprof. After the
commit it is either true or false.

In the asmrun directory, the call to ranlib for libasmrunp.a has also been
removed from the install target because this command is already invoked
in the rule that builds libasmrunp.a.

ocamlc/ocamlopt -config now prints the state of profiling support
2016-11-25 17:24:44 +01:00
..
arg_helper.ml Misc.Stdlib.String.split -> String.split_on_char. 2016-07-11 15:01:32 +02:00
arg_helper.mli More warnings when compiling the compiler. 2016-03-15 22:46:35 +01:00
ccomp.ml Update headers for the new license. 2016-02-18 16:59:16 +01:00
ccomp.mli Update headers for the new license. 2016-02-18 16:59:16 +01:00
clflags.ml fix whitespace, long lines, headers 2016-08-01 16:06:59 +02:00
clflags.mli GPR#606: add unboxed types 2016-07-21 13:51:46 +02:00
config.mli Improve handling of platforms that do not have gprof profiling support (#933) 2016-11-25 17:24:44 +01:00
config.mlp Improve handling of platforms that do not have gprof profiling support (#933) 2016-11-25 17:24:44 +01:00
consistbl.ml More warnings when compiling the compiler. 2016-03-15 22:46:35 +01:00
consistbl.mli Update headers for the new license. 2016-02-18 16:59:16 +01:00
identifiable.ml More warnings when compiling the compiler. 2016-03-15 22:46:35 +01:00
identifiable.mli Update headers for the new license. 2016-02-18 16:59:16 +01:00
misc.ml Wrap hook exceptions and have them printed with the standard mechanism instead of stopping the process. 2016-07-12 18:10:08 +02:00
misc.mli fix whitespace, long lines, headers 2016-08-01 16:06:59 +02:00
numbers.ml Update headers for the new license. 2016-02-18 16:59:16 +01:00
numbers.mli Update headers for the new license. 2016-02-18 16:59:16 +01:00
strongly_connected_components.ml More warnings when compiling the compiler. 2016-03-15 22:46:35 +01:00
strongly_connected_components.mli Update headers for the new license. 2016-02-18 16:59:16 +01:00
targetint.ml Add new module Targetint (#759) 2016-08-16 07:29:24 +01:00
targetint.mli Add new module Targetint (#759) 2016-08-16 07:29:24 +01:00
tbl.ml More warnings when compiling the compiler. 2016-03-15 22:46:35 +01:00
tbl.mli Update headers for the new license. 2016-02-18 16:59:16 +01:00
terminfo.ml Update headers for the new license. 2016-02-18 16:59:16 +01:00
terminfo.mli Update headers for the new license. 2016-02-18 16:59:16 +01:00
timings.ml Update headers for the new license. 2016-02-18 16:59:16 +01:00
timings.mli Update headers for the new license. 2016-02-18 16:59:16 +01:00
warnings.ml bump last warning number after GPR#606 2016-07-26 15:44:12 -04:00
warnings.mli GPR#606: add unboxed types 2016-07-21 13:51:46 +02:00