Re: [Pharo-users] Writing extensions

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re: [Pharo-users] Writing extensions

Mariano Martinez Peck
 


On Mon, Jun 21, 2010 at 1:52 PM, Mariano Martinez Peck <[hidden email]> wrote:


On Mon, Jun 21, 2010 at 12:32 PM, Bob Cowdery <[hidden email]> wrote:
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

which headers?  I am a vm newbie, so I cc'ed squeak-vm mailing list. They may help you much more than me.

Cheers

Mariano
 
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]>
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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