Re: [Pharo-users] compiling libraries for Pharo on macOS

2018-10-18 Thread Michel Onoff
On 2018-10-18 05:31, Pierce Ng wrote: > On Wed, Oct 17, 2018 at 10:08:58AM +0200, Michel Onoff wrote: >> Specifically, I'm trying to build on all supported platforms, namely macOS, >> Windows and Linux. Currently I've got Linux and Windows under control, but I >> cannot

Re: [Pharo-users] compiling libraries for Pharo on macOS

2018-10-17 Thread Michel Onoff
ry parent / 'Plugins'.     #('libgit2.dylib' 'libgit2.0.dylib')         detect: [ :each | (pluginDir / each) exists ]         ifFound: [ :libName | ^ libName ].     self error: 'Module not found.' Hope that helps On Wed, Oct 17, 2018 at 12:54 PM Michel Onoff <mailto:michel.on...@web.de>

Re: [Pharo-users] compiling libraries for Pharo on macOS

2018-10-17 Thread Michel Onoff
sed to build the symbol table which is the most important part of the library. Without a correctly build symbol table the library is useless even when used from C/C++. On Wed, Oct 17, 2018 at 11:09 AM Michel Onoff <mailto:michel.on...@web.de>> wrote: Hello, I've made some att

[Pharo-users] compiling libraries for Pharo on macOS

2018-10-17 Thread Michel Onoff
Hello, I've made some attempts to use the Pharo FFI. I've gone through the documentation [1] and tried some examples. While the documentation is quite clear about using external libraries from Pharo, it lacks details on how to build own libraries to be used from Pharo. Specifically, I'm