Subject:
Re: [ruby-ffi] Re: Other compilers?
From:
Luis Lavena
Date:
1/28/10 11:12 AM
To:
ruby-ffi@googlegroups.com

On Thu, Jan 28, 2010 at 4:17 PM, Daniel Berger <djberg96@gmail.com> wrote:
> Are there any plans to support other compilers? Or does FFI use some
> GNU specific extensions?
>

As long libffi is compilable with Visual Studio and a makefile for it
is provided (maybe libffivs.mk) things could work.

Please take a look here:

http://github.com/ffi/ffi/blob/master/ext/ffi_c/extconf.rb#L28-39

And here:

http://github.com/ffi/ffi/tree/master/ext/ffi_c/

for libffi.*.mk files

Then try compiling and running the specs with a Visual Studio built
version of Ruby.

(gem install ffi --development will install all the dependencies)

Cheers,
-- Luis Lavena AREA 17 - Perfection in design is achieved not when there is nothing more to add, but rather when there is nothing more to take away. Antoine de Saint-Exupéry