From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by walapai.inria.fr (8.13.6/8.13.6) with ESMTP id p0JE5c0f025320 for ; Wed, 19 Jan 2011 15:05:38 +0100 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AsUAAB9+Nk1KfVI0kGdsb2JhbACWKo4SCBUBAQIJCQwHEQQgpyyJeoIYhQ8uh0MBAQMFhUsEix6DJGw X-IronPort-AV: E=Sophos;i="4.60,344,1291590000"; d="scan'208";a="73473880" Received: from mail-ww0-f52.google.com ([74.125.82.52]) by mail3-smtp-sop.national.inria.fr with ESMTP/TLS/RC4-MD5; 19 Jan 2011 15:05:33 +0100 Received: by mail-ww0-f52.google.com with SMTP id 20so878513wwd.9 for ; Wed, 19 Jan 2011 06:05:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:content-type:mime-version:subject:from :in-reply-to:date:content-transfer-encoding:message-id:references:to :x-mailer; bh=Ngz2KjjUZT+NGDl2s0S5WB+Vdnu7fW86v6Gn3QsbPzU=; b=UIuTbov0oZwfrt91/PMZd2RnIrkqF+5AdbbR/SXpgk7mOFMYrZrQIFjAFytjAGjWn6 S3lvPeKxxcL3kadcm7VcjgQVqKlUD+1pBF6JynFM7eZdRh05ZtNcsk8Oiz+79c3STwBq vSfIrzy2iz449BkXWW5JkXutntq0qlB4SJnkQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; b=W/nHMl7OLWP9TRuKPnBSLPo2WRnfwDKS5ZrumOUMNewvUD22jhugGgHyJkhNIz7N3B Qt8xGc/8MpSPKIfVyWa6WMLT4EGwlwjoSIi6CqvACJwkETYFJ/l8imeukP6NDsDaudoz jLJkO9E1aeK9zOn23NttazfZLmjIX/V7B9Yis= Received: by 10.216.183.145 with SMTP id q17mr700402wem.5.1295445929480; Wed, 19 Jan 2011 06:05:29 -0800 (PST) Received: from [192.168.0.193] ([95.60.213.7]) by mx.google.com with ESMTPS id f52sm3677660wes.35.2011.01.19.06.05.27 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 19 Jan 2011 06:05:28 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1082) From: Joel Reymont In-Reply-To: Date: Wed, 19 Jan 2011 14:05:25 +0000 Message-Id: <74905BF3-E338-40A5-B9A8-3FDB5AD816D7@gmail.com> References: To: caml-list@inria.fr X-Mailer: Apple Mail (2.1082) Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by walapai.inria.fr id p0JE5c0f025320 Subject: [Caml-list] Re: oasis and loading a pre-build shared library at runtime 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