Fix PR#6056

git-svn-id: http://caml.inria.fr/svn/ocaml/version/4.01@13847 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
[PR#6059, patch by Anil Madhavapeddy] add -output-obj rules and targets to ocamlbuild for byte and native code

Three corresponding targets are added:
%.byte.o   : bytecode object file
%.byte.c   : bytecode source C file
%.native.o : native code object file


git-svn-id: http://caml.inria.fr/svn/ocaml/version/4.01@13850 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
PR#6060: Add some missing compiler options to ocamlbuild. (Patch by Anil Madhavapeddy!)

* -short-paths is activated via the "short_paths" tag
* -principal is activated via the "principal" tag
* -strict_sequence now has a "strict_sequence" tag to alias the
  "strict-sequence" tag that was already there, to follow the
  convention of command-line options having dashes replaced by
  underscores.  It's easy to mess this up since incorrect tags
  are silently ignored by ocamlbuild.

Add test cases that check if principal and strict-sequence have
been passed, and tweak the test suite slightly to make it easier
to match on failing_msg output.


git-svn-id: http://caml.inria.fr/svn/ocaml/version/4.01@13865 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Add Graphics.loop_at_exit function

git-svn-id: http://caml.inria.fr/svn/ocaml/version/4.01@13870 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
ocamlbuild: fix typo for short_paths+infer_interface


git-svn-id: http://caml.inria.fr/svn/ocaml/version/4.01@13874 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Fix #5571 (cherry-picked from commit 13877 on trunk).

git-svn-id: http://caml.inria.fr/svn/ocaml/version/4.01@13878 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Remove non-ASCII chars from headers

git-svn-id: http://caml.inria.fr/svn/ocaml/version/4.01@13879 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
check-typo: suppress warning on long lines in .reference files; suppress warnings in yacc/

git-svn-id: http://caml.inria.fr/svn/ocaml/version/4.01@13881 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
PR#4469: emacs mode: caml-set-compile-command is annoying with ocamlbuild

git-svn-id: http://caml.inria.fr/svn/ocaml/version/4.01@13882 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
PR#4485: Graphics: Keyboard events incorrectly delivered in native code

git-svn-id: http://caml.inria.fr/svn/ocaml/version/4.01@13883 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
#5899: expose Printexc.get_callstack.

git-svn-id: http://caml.inria.fr/svn/ocaml/version/4.01@13884 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
#5899: expose Printexc.get_callstack.

git-svn-id: http://caml.inria.fr/svn/ocaml/version/4.01@13885 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
PR#5765: ocamllex doesn't preserve line directives

git-svn-id: http://caml.inria.fr/svn/ocaml/version/4.01@13887 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
PR#5872: Performance: Buffer.add_char is not inlined

git-svn-id: http://caml.inria.fr/svn/ocaml/version/4.01@13888 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
PR#5988: missing from the documentation: -impl is a valid flag for ocamlopt

git-svn-id: http://caml.inria.fr/svn/ocaml/version/4.01@13889 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
PR#5945: Mix-up of Minor_heap_min and Minor_heap_max units

git-svn-id: http://caml.inria.fr/svn/ocaml/version/4.01@13899 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
PR#6072: configure does not handle FreeBSD current (i.e. 10) correctly

git-svn-id: http://caml.inria.fr/svn/ocaml/version/4.01@13900 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Fix OCAMLPARAM problems

git-svn-id: http://caml.inria.fr/svn/ocaml/version/4.01@13902 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
#6073: Add signature to Tstr_include.

git-svn-id: http://caml.inria.fr/svn/ocaml/version/4.01@13903 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
PR#5739: Printf.printf "%F" and nan/infinity/neg_infinity.


git-svn-id: http://caml.inria.fr/svn/ocaml/version/4.01@13910 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02