Subject:
[ruby-ffi] Re: invalid ELF header on hello world example
From:
bwv549
Date:
5/26/10 11:41 PM
To:
ruby-ffi

That works for me on linux.  Much obliged!

On May 26, 5:57 pm, Luis Lavena <luislav...@gmail.com> wrote:
> On Wed, May 26, 2010 at 8:50 PM, Wayne Meissner <wmeiss...@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