Subject:
[ruby-ffi] Re: Other compilers?
From:
Daniel Berger
Date:
1/30/10 9:27 AM
To:
ruby-ffi



On Jan 29, 7:52 am, Daniel Berger <djber...@gmail.com> wrote:
> On Jan 28, 10:12 am, Luis Lavena <luislav...@gmail.com> wrote:
>
>
>
> > On Thu, Jan 28, 2010 at 4:17 PM, Daniel Berger <djber...@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)
>
> 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.

Someone pointed me to this:

http://industriousone.com/premake

Anyone tried it?