V2.3 Plugin Modules are Sweet!

Mark A. Schwenk mas at wellthot.com
Tue Feb 2 21:00:39 UTC 1999


Andrew Greenberg's notes were helpful for getting started in using the
new named primitive facilities.

As an addendum for those on Linux or another Unixy platform, the
commands I used to generate the shared library module for Foo.c were as
follows on RedHat Linux 5.2:

$ cd /usr/local/squeak
$ ls 
Foo.c
Squeak2.3.changes
Squeak2.3.image
SqueakV2.sources
SqueakVM-2.3-i386-linux2.0.36
$
$ cc -c -I/usr/local/src/squeak-2.3/src Foo.c # this line must reference
your squeak source
$ ld -shared -o Foo.so Foo.o
$ ls
Foo.c
Foo.o
Foo.so
Squeak2.3.changes
Squeak2.3.image
SqueakV2.sources
SqueakVM-2.3-i386-linux2.0.36

Thanks to the Squeak Team for this new facility and to Andrew for the
notes!
I think the notes should be added to the Squeak Swiki for future
reference.

-Mark Schwenk
 WellThot Inc.





More information about the Squeak-dev mailing list