How to modify myocamlbuild.ml to include static c library

posted in Mirage OS
Thursday, October 10 2013, 10:04 PM
0
HI all,

I am a total noobie to ocaml and Mirage OS. I modified the basic example to call the library, so that was easy enough, but I can't seem to work out how to link in the library. I have spent the last few hours searching for a "simple" way to add a c library to an ocaml build, the shortest example was about 60 lines long, or talked about dynamic loading.

Can anybody help, or at least point me to some simple documentation?

Thanks.
Responses (2)
  • Accepted Answer

    Friday, October 11 2013, 07:47 PM - #permalink
    0
    Mirage OS is definitely out of my range of experience, but I'd suggest looking through the Mirage webpages:

    http://www.openmirage.org/

    The Wiki or Mailing list over there may be of more help.
    The reply is currently minimized Show
  • Accepted Answer

    Saturday, October 12 2013, 02:27 PM - #permalink
    0
    Thanks Russell,

    Unfortunately I think I've read the openmirage website from cover to cover and not found anything that helps. As you recommended on my OS porting question, I think I'll subscribe to the mail list and see what happens there.

    Regards.
    The reply is currently minimized Show
Your Reply