From: Sylvain Le Gall <sylvain@le-gall.net>
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:32:38 +0000 (UTC) [thread overview]
Message-ID: <slrnijdtg6.l5s.sylvain@gallu.homelinux.org> (raw)
In-Reply-To: <74905BF3-E338-40A5-B9A8-3FDB5AD816D7@gmail.com>
Hello,
On 19-01-2011, Joel Reymont <joelr1@gmail.com> wrote:
> The answer seems to be DataFiles.
Good guess ;-)
N.B. if you wish to control where the bundle is installed you can define
it like this:
DataFiles: bundle ($datadir/where_the_bundle_should_go)
>
> 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?
>
Cheers,
Sylvain Le Gall
--
My company: http://www.ocamlcore.com
Linkedin: http://fr.linkedin.com/in/sylvainlegall
Start an OCaml project here: http://forge.ocamlcore.org
OCaml blogs: http://planet.ocamlcore.org
prev parent reply other threads:[~2011-01-19 14:32 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 ` [Caml-list] " Joel Reymont
2011-01-19 14:32 ` Sylvain Le Gall [this message]
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=slrnijdtg6.l5s.sylvain@gallu.homelinux.org \
--to=sylvain@le-gall.net \
--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