[squeak-dev] FFI question [WAS] squeakopendbx, which VM?
bert at freudenbergs.de
Thu Apr 30 21:43:19 UTC 2009
On 30.04.2009, at 23:22, Mariano Martinez Peck wrote:
> However, you can of course manually do the "linking" step - in the
> ffi function declarations, use "libopendbx.so.1" as module instead
> of just "opendbx". This will then only work on Linux of course,
> since other Unix platforms use different schemes of versioning
> Indeed. That's why I don't want to change the module name.
Well, you can also automate this "pseudo-linking". When starting up,
just patch the right module name for the current platform into all the
FFI declarations. That's how the OpenGL FFI bindings in Croquet work ...
- Bert -
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Squeak-dev