Re: [polyml] LInkage and the Foreign structure

2018-10-14 Thread Phil Clayton
In fact `loadLibrary ""` doesn't work on Darwin, `loadExecutable ()` is required. Phil On 11/09/18 21:50, Phil Clayton wrote: Looking at polyffi.cpp it actually looks like `loadLibrary ""` ends up calling   dlopen ("", ...) whereas `loadExecutable ()` ends up calling   dlopen (NULL, ...) A

Re: [polyml] LInkage and the Foreign structure

2018-10-14 Thread Phil Clayton
Hi David, Thanks for the explanation and updates. I have tested this, including externalDataSymbol, and all appears to work on my Linux and Darwin systems. Initially I found that I wasn't seeing the new Foreign exception for an uninitalized external symbol, although there was no seg fault.