Subject:
Re: [ruby-ffi] invalid ELF header on hello world example
From:
Luis Lavena
Date:
5/26/10 6:57 PM
To:
ruby-ffi@googlegroups.com

On Wed, May 26, 2010 at 8:50 PM, Wayne Meissner <wmeissner@gmail.com> wrote:
>
> Yup, working on windows (and AIX, which uses something strange like
> libc.a(shr_64.o)) is what that constant is for.  Even ffi_lib 'c'
> should work on all of them, since ffi_lib looks for 'c' and converts
> it back to FFI::Library::LIBC.

Only on *NIX, on Windows fails, but knowing the constant is better
than letting FFI do magic :-)
(better explicit than implicit)
-- 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