Hi Dave,
I put my hand on the VM, just enough to be able to
compile it and run a GDB session with a breakpoint in the
plugin. I followed the instructions on VM github repo VM to
compile a COG version wtih debug symbols for Linux. I did not
met the problem with flag you mentioned, I am still on Ubuntu
20.04, may my gcc version is older.
The Squeak wiki page about VM source seems wrong, it writes github repo is for archiving and development goes on squeakvm. From my perception it is the contrary.
I will try to put together the peaces from the latest Etoys OLPC
VM Juan pointed.
Thanks
Hilaire
Thanks Vanessa, I am not keeping up very well with the current clipboard development, but I am try to help by putting together the historical pieces. The OLPC image should be a good reference. It's on Linux and it delivers Etoys and all of the clipboard functionality that worked at that time. Can you say if the Etoys development image Etoys-Dev-4.1.2381.zip is the same as what was delivered on OLPC? If so it should serve as a useful reference. If anyone would like to try looking at Etoys-Dev-4.1.2381.zip, here are a few notes: - The image will run in SqueakJS on https://try.squeak.org/. It's a bit slow but it works and allows anyone to browse the system and look at the source. - The image also runs on an up to date interpreter VM, which is useful if you want to run Etoys on a native Linux VM and try the clipboard functions on Linux. - I found that I now need to compile the VM with the gcc -fno-stack-protector option, otherwise the VM exits with a stack smashing warning. I am assuming this is due to recent gcc security updates (exit on stack smashing detected) that are triggered by the existing VM/image when running the Etoys image. Home hobby Squeakers compiling the VM will need to follow the instructions at https://wiki.squeak.org/squeak/6354 but also add the -fno-stack-protector compiler option in order to run the Etoys development image on Linux. BTW I do not recall the link for downloading Etoys-Dev-4.1.2381.zip but hopefully it is still available on the net. If not maybe we can put a copy on the files.squeak.org server.
-- GNU Dr. Geo http://drgeo.eu http://blog.drgeo.eu