I am looking into how to reduce the size of mirageos images. Currently I am playing around with the ukvm target.
Using 4.06.1+lto, the size of hello.ukvm is 6M (stripped). (–gc-sections gets me to 5.5M.)
I have read somewhere that I can use ocamlclean to reduce the image size. Is this still the case? I could not figure out how to do so.
I would be very grateful if someone could point me in the direction of reducing mirageos image size.