caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "Markus Weißmann" <markus.weissmann@in.tum.de>
To: <caml-list@inria.fr>
Subject: Re: [Caml-list] any automated FFI bindings generators?
Date: Fri, 31 Jan 2014 16:22:59 +0100	[thread overview]
Message-ID: <13732073b8c50fe8e4fb7abc831e96ac@in.tum.de> (raw)
In-Reply-To: <52EAFC27.4010307@riken.jp>

On 2014-01-31 02:28, Francois Berenger wrote:
> On 01/30/2014 08:01 PM, Ömer Sinan Ağacan wrote:
>> Hi all,
>>
>> I want to be able to use some very big C libraries from OCaml and I
>> want to automate process of writing bindings as much as possible. 
>> What
>> are my options for this? Do we have any tools to generate bindings?
>
> I am not sure this is what you are looking for, but there is this in 
> OPAM:
>
> ctypes -- Combinators for binding to C libraries without writing any 
> C
>

just tried to use ctypes on an arm-linux system and it failed to 
compile ('[ERROR] "ctypes" is not available for your compiler or your 
OS.');
unfortunately I couldn't find anything regarding the supported 
architectures of ctypes -- any hints on where it works? Only x86/x64?

Regards
Markus

-- 
Markus Weißmann, M.Sc.
Technische Universität München
Institut für Informatik
Boltzmannstr. 3
D-85748 Garching
Germany
http://wwwknoll.in.tum.de/

  reply	other threads:[~2014-01-31 15:23 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-30 11:01 Ömer Sinan Ağacan
2014-01-30 14:13 ` Gerd Stolpmann
2014-01-31  1:28 ` Francois Berenger
2014-01-31 15:22   ` Markus Weißmann [this message]
2014-01-31 15:31     ` Daniel Bünzli
2014-01-31 16:23       ` Markus Weissmann
2014-01-31  9:08 ` Adrien Nader
2014-01-31  9:12   ` Adrien Nader
2014-02-02 17:04     ` Adrien Nader
2014-01-31 15:41 ` Xavier Leroy

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=13732073b8c50fe8e4fb7abc831e96ac@in.tum.de \
    --to=markus.weissmann@in.tum.de \
    --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;
as well as URLs for NNTP newsgroup(s).