Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Joel Reymont <joelr1@gmail.com>
To: caml-list@inria.fr
Subject: [Caml-list] Re: oasis and loading a pre-build shared library at runtime
Date: Wed, 19 Jan 2011 14:05:25 +0000	[thread overview]
Message-ID: <74905BF3-E338-40A5-B9A8-3FDB5AD816D7@gmail.com> (raw)
In-Reply-To: <DABFFF0F-6EA7-42CB-B29F-B711EED8A93C@gmail.com>

The answer seems to be DataFiles.

On Jan 19, 2011, at 1:04 PM, Joel Reymont wrote:

> I'm trying use OCaml to wrap the C API for my Beagle 480 USB analyzer. 
> 
> The API comes as a C file, header file and a pre-built "bundle" on the Mac.
> 
> I cannot link against the bundle so the bundle needs to be loaded into the OCaml executable built with Oasis. I have C code that loads the bundle but how do I tell Oasis to place the bundle together with the executable during installation?

---
http://wagerlabs.com | @wagerlabs | http://www.linkedin.com/in/joelreymont







  reply	other threads:[~2011-01-19 14:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-19 13:04 [Caml-list] " Joel Reymont
2011-01-19 14:05 ` Joel Reymont [this message]
2011-01-19 14:32   ` [Caml-list] " Sylvain Le Gall

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=74905BF3-E338-40A5-B9A8-3FDB5AD816D7@gmail.com \
    --to=joelr1@gmail.com \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox