Subject: [ruby-ffi] Re: Following the examples guide |
From: Fonsan |
Date: 3/16/11 6:44 PM |
To: ruby-ffi |
I recently found the https://github.com/alloy/kicker gem that provides native fsevents in OS X but the caveat is that you have to run and install it with the native ruby that ships with OS X I'm leaving this side project for now but thanx for the reply and I hope it comes to use for someone On 16 mar, 19:54, vinny <agnel...@gmail.com> wrote:
Just a guess but to me it looks like you aren't specifying that the output of the compilation step is a shared object. Normally what gcc produces is an object file which needs to be linked together into an executable, static library or dynamic library. The gcc man page says it can generate a shared object, but I have never used it to do that with "-shared" or "-shared-libgcc". Otherwise you will need to use "ld" and tell it to generate a shared library.