<dinosaure>
so, the *.a is the C library compiled with right flags
<dinosaure>
then, in your unikernel, you should not update anythin where ocamlbuild/ocamlfind will select automagically your *.a
<dinosaure>
it's little bit complex currently (MirageOS 4 should be easier) but checkseum.0.0.9 is a good example of how to integrate C code for an unikernel
<dinosaure>
(checkseum go further and uses cmx trick but it's orthogonal to your goal :) )
<mk__>
That is actually nice! I will try it soon, and will get back to this channel if it didn't work well
<dinosaure>
then, at the link step of your unikernel, you will see what is missing (about C stdlib) :D
<mk__>
So, how to fix those link problems?
<dinosaure>
reimplement them/delete them :d
<dinosaure>
for example, if you look into checkseum, we redefine some type like size_t/ptrdiff_t which are not available