Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
ocamlmklib and .cmxa #3249
Original bug ID: 3249
ocamlmklib allows to include .cma libraries (by the way, it is not documented
but not .cmxa :
This problem still exists on 4.07.1 e.g.:
though I fail a bit to see the use case (repacking a set of libraries as a larger one ?).
That being said the synopsis of
or at least widly different from what is specified in the manual.
A look at the implementation seems to indicate that the synopsis is right. But the implementation strategy seems to be let's give all that to
My understanding is that this limitation stems from there being no simple way to merge static libraries in a portable way. Including all that intricate logic in the compiler does not seem to fit with its overarching philosophy. With that, I move to close this issue.