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

A handful of improvements related to cross compiling #562

Merged
merged 6 commits into from
May 19, 2024

Commits on May 19, 2024

  1. Configuration menu
    Copy the full SHA
    0107aa5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    659e0d2 View commit details
    Browse the repository at this point in the history
  3. Automatically detect various rounding modes

    As defined in the standard, each of these macros are
    only defined if the platform supports that rounding mode.
    
    https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/fenv.h.html
    agoode committed May 19, 2024
    Configuration menu
    Copy the full SHA
    c1a7109 View commit details
    Browse the repository at this point in the history
  4. Store some target-specific variables in $TARGET/vars

    This will allow running mlton as a cross-compiler more easily, since the CC and GMP vars may be different between targets.
    agoode committed May 19, 2024
    Configuration menu
    Copy the full SHA
    4d05837 View commit details
    Browse the repository at this point in the history
  5. Add install-runtime to Makefile

    This makes it easier to build multiple per-target runtime targets and install them together.
    agoode committed May 19, 2024
    Configuration menu
    Copy the full SHA
    21d94b8 View commit details
    Browse the repository at this point in the history
  6. Always pass flags to mlton in bin/regression

    This makes any `-target` flag get passed to get the right OBJPTR_REP for cross regressions.
    agoode committed May 19, 2024
    Configuration menu
    Copy the full SHA
    f39bec2 View commit details
    Browse the repository at this point in the history