Login  Register

Re: Writing extensions

Posted by Bob Cowdery-4 on Jun 21, 2010; 10:32am
URL: https://forum.world.st/Writing-extensions-tp2254878p2262440.html

Hi Mariano

Thanks for the links. I managed to dig out my old code and found some of
the links, enough for me to write the slang and convert to C. Now I need
some header files for the build and presumable a library to link
against. I would appreciate a pointer to those as it's not obvious from
the links where to get those from.

Regards
Bob

Mariano Martinez Peck wrote:

> Hi Bob and welcome. There are two possibiities I know to
> write/communicate to C:
>
> - The FFI plugin is intended to call external libraries from Smalltalk
> http://wiki.squeak.org/squeak/1414
> http://forum.world.st/FFI-Documentation-td2225148.html#a2225148
>
> - Write your own VM primitives
> http://wiki.squeak.org/squeak/356
> http://wiki.squeak.org/squeak/3336
> http://wiki.squeak.org/squeak/6102
>
> Probably there are much more links, but maybe this is enough to
> remember you what you used.
>
> Let us know
>
> Mariano
>
> On Mon, Jun 14, 2010 at 9:02 PM, Bob Cowdery <[hidden email]
> <mailto:[hidden email]>> wrote:
>
>     Hi all,
>
>     I played with Squeak about 4 years ago and I built some extensions
>     in C.
>     I would like to do the same again with Pharo and I have a big lump
>     of C
>     I would like to interface to. I can't actually remember what I did
>     before and can't seem to find the tutorial I used. Could somebody
>     point
>     me in the right direction please.
>
>     Thanks
>     Bob
>
>     _______________________________________________
>     Pharo-users mailing list
>     [hidden email]
>     <mailto:[hidden email]>
>     http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Pharo-users mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users
>  


_______________________________________________
Pharo-users mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users