[Cuis-dev] [cuis-slang] OpenSmalltalkVM Header Generation

Luciano Notarfrancesco luchiano at gmail.com
Sun Jun 7 05:29:58 PDT 2020


This is great Philip! I'll try to get it working too. The VM I'm using is
over 1 year old, but looking at the plugins that came with it I see they
export a function moduleUnloaded and not a shutdownModule. I guess newer
versions use shutdownModule, I'll try with the latest VM.

On Sun, Jun 7, 2020 at 6:20 PM Philip Bernhart via Cuis-dev <
cuis-dev at lists.cuis.st> wrote:

> Hi,
>
> yesterday I looked at the sqNamedPrim.h in opensmalltalk-vm
> again. And tried to generate the interpreterProxy interface
> structure for my Cuis Slang project.
>
> Not the full one, which is depending on major and
> minor versions of the interpreterProxy in the VMMaker package,
> but the bare minimum which seems to be shared across the
> implementations.
>
> I wrote by hand a small "plugin" which basically just writes
> out a logfile which writes a string into it.
>
> For some reason the generated "plugin" is found by FFI and
> not by the <primitive: 'primFetchInt' module: 'TestPlugin'>
> call.
>
> How to compile: gcc -fpic -shared test_plugin.c -o TestPlugin.so
> was written for a 64bit image on a 64bit machine (amd64, intel).
>
> Do you have any suggestions?
>
>
> Thanks for your time,
> Philip
> --
> Cuis-dev mailing list
> Cuis-dev at lists.cuis.st
> https://lists.cuis.st/mailman/listinfo/cuis-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20200607/f8856c07/attachment-0001.htm>


More information about the Cuis-dev mailing list