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

4.13 support #94

Merged
merged 1 commit into from
Sep 27, 2021
Merged

4.13 support #94

merged 1 commit into from
Sep 27, 2021

Conversation

dra27
Copy link
Contributor

@dra27 dra27 commented Sep 14, 2021

A change made to OCaml before 4.13 was branched slowed down the Windows build, but the fix (although ready for review) was deferred until during the beta cycle. The story of the fix is long and not entirely relevant, but the solution is that there is now a one-file C program in runtime/ which forms part of the build system and so has to be built with a host ("build") C compiler. There should be an elegant solution to this in future when the OCaml tree itself natively supports cross-compilation, but in the meantime we're proposing inserting three variable hooks which ocaml-freestanding (and other cross-compiling setups) can use.

This can be tested with

opam pin add ocaml-src git+https://github.com/dra27/ocaml.git#freestanding-sak-4.13 -yn
opam pin add ocaml-freestanding git+https://github.com/dra27/ocaml-freestanding.git#4.13-sak -y

cc @kit-ty-kate

@hannesm
Copy link
Member

hannesm commented Sep 27, 2021

thanks, included in #95

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants