Version française
Home     About     Download     Resources     Contact us    
Browse thread
C binding and GC interaction: storing values outside the heap
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Paolo Donadeo <p.donadeo@g...>
Subject: Re: [Caml-list] C binding and GC interaction: storing values outside the heap
On Tue, Sep 7, 2010 at 23:48, Stéphane Glondu wrote:
> Well... could you provide a full self-contained example?

Yes, but it could be confusing due to many other details. In any case:

$ git clone http://git.ocamlcore.org/ocaml-lua/ocaml-lua.git
$ git checkout remotes/origin/paolo_donadeo/segfault_hunting
$ cd src
$ ocamlbuild main.d.byte main.native

(You must have installed the Lua library, liblua5.1-0-dev in Debian/Ubuntu)


> How does that sound?

It could work, in the next few days I'll try this solution too.


-- 
Paolo