[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: FFI on OS X?
From: |
Ludovic Courtès |
Subject: |
Re: FFI on OS X? |
Date: |
Thu, 03 Mar 2011 14:11:12 +0100 |
User-agent: |
Gnus/5.110013 (No Gnus v0.13) Emacs/23.2 (gnu/linux) |
Hi,
Hans Aberg <address@hidden> writes:
> On 3 Mar 2011, at 11:40, Ludovic Courtès wrote:
>>>> The crux is that on older MacOS X versions ‘.dylib’ are shared
>>>> libraries (not dlopenable), whereas ‘.so’ are “bundles”
>>>> (dlopenable). That’s why lt_dlopenext (which is what
>>>> ‘dynamic-link’ uses) doesn’t try to open ‘.dylib’ files.
>>> The shared libraries (not dynamically loadable, except as when
>>> starting up the program like some web browser plugins) were on the
>>> PPC platform (XCOFF and PEF I think it was).
>>>
>>> Now (Mac OS 10.5 and later), all is loadable. Haven't seen any .so
>>> files, except as coming from GNU/Linux.
>> I would recommend discussing this with the Libtool folks, to see
>> how ltdl could adapt to the new situation.
>
> I recommend that too. - I brought it up a year ago, so if somebody
> wants to give it another take, please feel free to do it. :-)
It’d boil down to summarizing the situation and proposing a way to
detect whether .dylib can be dlopen’d. I don’t have access to OS X,
though, so I won’t look into it.
[...]
>>> UNIX, and the only parts in the UNIX standard recognizing file name
>> “UNIX standard”, what a funny phrase! :-)
>
> Do you like "Single UNIX Specification" better?
Sure. :-)
Ludo’.
Re: FFI on OS X?, Andreas Rottmann, 2011/03/02
- Re: FFI on OS X?, Hans Aberg, 2011/03/03
- Re: FFI on OS X?, Ludovic Courtès, 2011/03/03
- Re: FFI on OS X?, Andreas Rottmann, 2011/03/03
- Re: FFI on OS X?, Ludovic Courtès, 2011/03/03
- Re: FFI on OS X?, Andy Wingo, 2011/03/09