Frama-C-discuss mailing list archives

This page gathers the archives of the old Frama-C-discuss archives, that was hosted by Inria's gforge before its demise at the end of 2020. To search for mails newer than September 2020, please visit the page of the new mailing list on Renater.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Frama-c-discuss] How to use external libraries in Dynamic Plugin

  • Subject: [Frama-c-discuss] How to use external libraries in Dynamic Plugin
  • From: mehdi at (Mehdi Dogguy)
  • Date: Mon, 03 Oct 2011 17:11:13 +0200
  • In-reply-to: <569C6D7D26484241A530B87F45ADE1F87DCF03@AOFRWMBXRSC004.resources.atosorigin.local>
  • References: <569C6D7D26484241A530B87F45ADE1F87DCF03@AOFRWMBXRSC004.resources.atosorigin.local>

On 03/10/2011 16:43, DUPRAT Stephane wrote:
> Hello,
> Is it possible to use an external library in dynamic plugin ? For
> example, if I want to use sqlite3 OCaml library. I need to know the
> path <GODI_install>/install/lib/ocaml/pkg-lib/sqlite3/ and archive
> names sqlite3.cma and sqlite3.cmxa.

If you use ocamlfind, you can try "ocamlfind query sqlite3"? otherwise,
you are left with checking that "ocamlc -where" corresponds to
"<GODI_install>/install/lib/ocaml/" and adding "-I +pkg-lib/sqlite3" to
your build flags.

I've never used Godi though? so, I don't know how
<GODI_install>/install/lib/ocaml/ is organized.

Kind regards,

Mehdi Dogguy ???? ?????