[Vm-dev] Re: [Pharo-users] Writing extensions

Mariano Martinez Peck marianopeck at gmail.com
Mon Jun 21 11:52:18 UTC 2010


On Mon, Jun 21, 2010 at 1:52 PM, Mariano Martinez Peck <
marianopeck at gmail.com> wrote:

>
>
> On Mon, Jun 21, 2010 at 12:32 PM, Bob Cowdery <bob at bobcowdery.plus.com>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 <bob at bobcowdery.plus.com
>> > <mailto:bob at bobcowdery.plus.com>> 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
>> >     Pharo-users at lists.gforge.inria.fr
>> >     <mailto:Pharo-users at lists.gforge.inria.fr>
>> >     http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users
>> >
>> >
>> > ------------------------------------------------------------------------
>> >
>> > _______________________________________________
>> > Pharo-users mailing list
>> > Pharo-users at lists.gforge.inria.fr
>> > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users
>> >
>>
>>
>> _______________________________________________
>> Pharo-users mailing list
>> Pharo-users at lists.gforge.inria.fr
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20100621/dc9d0272/attachment.htm


More information about the Vm-dev mailing list