From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by sympa.inria.fr (Postfix) with ESMTPS id AF9507F75D for ; Fri, 31 Jan 2014 16:41:48 +0100 (CET) X-IronPort-AV: E=Sophos;i="4.95,758,1384297200"; d="scan'208";a="56321512" Received: from estephe.inria.fr (HELO [128.93.11.95]) ([128.93.11.95]) by mail2-relais-roc.national.inria.fr with ESMTP; 31 Jan 2014 16:41:48 +0100 Message-ID: <52EBC43C.1010902@inria.fr> Date: Fri, 31 Jan 2014 16:41:48 +0100 From: Xavier Leroy User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: =?UTF-8?B?w5ZtZXIgU2luYW4gQcSfYWNhbg==?= , OCaml Mailing List References: In-Reply-To: X-Enigmail-Version: 1.5.2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: Re: [Caml-list] any automated FFI bindings generators? On 2014-01-30 12:01, Ömer Sinan Ağacan wrote: > 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? Yes, several: - Ctypes https://github.com/ocamllabs/ocaml-ctypes - CamlIDL http://forge.ocamlcore.org/projects/camlidl/ - SWIG http://www.swig.org/ Enjoy, - Xavier Leroy