[Cuis-dev] Real Joy on Linux was ( Updates to VectorGraphics and precompiled MacVM)

stes@PANDORA.BE stes at telenet.be
Sat May 22 01:26:38 PDT 2021


----- Op 21 mei 2021 om 22:59 schreef cuis-dev cuis-dev at lists.cuis.st:

> Hi Juan,
> 
> Yes. I think that the only necessary update for VMMaker will be something
> like the attached, which moves the sqConfig.h include in the generated
> code for all plugins. I tried this change on classic VMMaker for interpreter
> VM, and everything worked as before. The generated code for VectorEnginePlugin
> will work on opensmalltalk-vm (after the fix_include_order branch is
> merged). This is probably the same thing that Gerald Klix did, and I
> think it is the right solution.
> 
> Dave

An alternative solution could be to remove the #error from config.h,
which stops the compile if config.h is included too late.

The #error was added in the hope to force the change that you describe.

But another fix could be to remove the #error.

Of course from a GNU autoconf / configure perspective an early #include of config.h is what GNU autoconf wants.

Anyway that's more a VM-dev list issue than a Cuis issue.

A more fundamental Cuis issue is, whether the VectorEnginePlugin can easily be added to VMMaker,
because Cuis is a fork of Squeak with some differences in the collection classes,
but with significant differences in Morphic.

A few months ago I tried to load "DoItFirst" from SqueakSource into Cuis,
which failed because Cuis is a dialect with good qualities, but with some differences in system initialisation which makes it impossible for me to file in "DoItFirst",
an excellent package written by David Lewis, which would be a good addition to Cuis as well.

In the other direction it may also require work to add the VectorEnginePlugin from the Cuis dialect to the VMMaker repo in the Squeak dialect,
but fortunately because the VectorEnginePlugin seems to be very well designed, it may work.

Regards,
David Stes


More information about the Cuis-dev mailing list