|
From: | John W. Eaton |
Subject: | Re: Need test of patch for OS X |
Date: | Tue, 10 May 2016 17:39:01 -0400 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.5.0 |
On 05/10/2016 05:25 PM, Alexander Hansen wrote:
Here are some additional links besides what Marius just sent out.
Thanks.
My understanding based on http://stackoverflow.com/questions/2339679/what-are-the-differences-between-so-and-dylib-on-osx is that current OS X versions should allow dylibs to be dlopen()ed and dlclose()d if they aren’t using the older API.
Oh, this is news to me, but is definitely good news because we are currently detecting and using the old dylib interface for the octave_shlib class (NSLinkModule, NSLookupSymbolInModule, etc.) and it would be so much simpler if we could delete the support for that interface and just use dlopen, dlsym, and dlsearch like we do on other Unixy systems.
Can we do that? Is the stackoverflow answer correct about the OS X version where dlopen and dlclose are both supported? What is the oldest OS X version we care about supporting?
jwe
[Prev in Thread] | Current Thread | [Next in Thread] |