Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make -linkall applicable to single compilation units #1009

Closed
wants to merge 3 commits into from

Commits on Jan 13, 2017

  1. Make -linkall applicable to single compilation units

    With this commit, "ocamlc -c -linkall" or "ocamlopt -c -linkall" produce object files that have the "force link" flag set.  Once put in library files (.cma/.cmxa), these object files will always be linked when the library is linked, even if no definition from the object file is referenced.  However, other object files in the library can still be removed if none of their definitions are referenced.
    
    In this respect, we get finer-grained control on which object files should always be linked, typically because they contain important initialization code.
    xavierleroy committed Jan 13, 2017
    Configuration menu
    Copy the full SHA
    52d44f1 View commit details
    Browse the repository at this point in the history

Commits on Jan 15, 2017

  1. PR#7460, GPR#1011: Fix uncaught Arg.Bad exception in compenv.ml

    This was a regression in 4.04.0, where passing files with unknown
    extension (foo.xwds) to the compiler raises an uncaught Arg.Bad
    exception.
    bschommer authored and xavierleroy committed Jan 15, 2017
    Configuration menu
    Copy the full SHA
    b621769 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    303e9b3 View commit details
    Browse the repository at this point in the history