UNIX VM external Plugin

J Scott Jaderholm scott at jaderholm.com
Tue Feb 13 20:59:57 UTC 2001


Hi,

I fileIn BltmodeForSPR-8Feb1520.cs, and then I BitBltSimulation
translate.  This outputs a BitBltPlugin.c.  I want to make an external
plugin, since copying that file over the one that comes with
Squeak-3.0 VM and compiling gives me lots of errors undefined
references.

So I copied sqConfig.h, sqPlatformSpecific.h, and sqVirtualMachine.h
into the directory with BitBltPlugin.c and I run gcc -rdynamic
BitBltPlugin.c to generate a DSO file, but it tells me this.

~/squeak/BitBltPlugin $ gcc -rdynamic BitBltPlugin.c 
/usr/lib/crt1.o: In function `_start':
/usr/lib/crt1.o(.text+0x18): undefined reference to `main'
collect2: ld returned 1 exit status

If anyone has suggestions I'd love to hear them.  Thank you.

Sincerely,
jsj

-- 
"Man's mind, once stretched by a new idea, never regains its original
dimensions."  Oliver Wendell Holmes (a Lisp programmer at heart)





More information about the Squeak-dev mailing list