Subject: [ruby-ffi] Re: Other compilers? |
From: Daniel Berger |
Date: 1/29/10 8:52 AM |
To: ruby-ffi |
On Jan 28, 10:12 am, Luis Lavena <luislav...@gmail.com> wrote:
<djber...@gmail.com> wrote:On Thu, Jan 28, 2010 at 4:17 PM, Daniel BergerAre there any plans to support other compilers? Or does FFI use some GNU specific extensions?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)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:
I tried messing with the makefile generation for the Sun Studio Compiler, but couldn't make it work. I just don't know enough about the idiosyncrasies of make to know what to do. Regards, Dan