Subject:
Re: [ruby-ffi] Cross-platform C code packaged in a gem
From:
Jeremy Voorhis
Date:
4/18/13 3:48 PM
To:
ruby-ffi@googlegroups.com

Hi Hugo,

Ruby-LLVM does exactly this for the support library. We let rubygems build the extension by invoking rake. Here are the relevant bits.
HTH,


On Thu, Apr 18, 2013 at 1:01 PM, Hugo Frappier <hugo@cekoya.com> wrote:
Was anyone able to package cross-platform C code in a gem and loading
it with FFI?

I'm having a hard time compiling and linking the code (especially on
Windows) using extconf.rb.  I looked at all the github FFI projects
(the one listed on the Wiki) and none of them seems to be doing
something similar.

Thanks

--

---
You received this message because you are subscribed to the Google Groups "ruby-ffi" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ruby-ffi+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.





--
Jeremy Voorhis

--
 
---
You received this message because you are subscribed to the Google Groups "ruby-ffi" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ruby-ffi+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.