[VM][SF] Cross has too much in the CVS tree?

Tim Rowledge tim at sumeru.stanford.edu
Mon Jan 7 05:31:19 UTC 2002


"Lex Spoon" <lex at cc.gatech.edu> is widely believed to have written:

> The Cross directory has a bunch of files in it that are automatically
> generated.  But it doens't contain a full set.  Thus, when you generate
> your VM, you get some files that you generated, and some files that are
> copied over from Cross.
> 
> Isn't this a little strange?
If it is actually so, yes. Cross platform should include a load of files
that were kept as literal strings in the image; sq.h, sqConfig.h,
FilePlugin/FilePlugin.h etc etc. If others have crept into the CVS
repository then I would suspect an administrative mistake somewhere.

> For example, because of this, you must
> have LargeFiles loaded into the image you generate a VM from.
No, I think the LargeFiles stuff is needed because
platforms/Cross/vm/sqVirtualMachine.c refers to the 64bit access macros
it introduced. sqVirtualMachine is not, unfortunately,  generated but
was stored as a String and is now a file in the CVS repository.

This is a demonstration that there will always be potential irritations
of dependencies until and unless we can generate _ALL_ the code. Keeping
the vm Smalltalk code in a project/image-segment-changeset/whatever
alongside the vm C code would probably help quite a bit. Aside from
anything else it could then be removed from the normal image and save a
bunch of space.

> It seems
> like either Cross should have an entire VM generated, or nothing.  I'd
> vote for removing all files from Cross that are automatically generated.
Me too - but it doesn't look to me that there are any. Which files do
you see that appear to qualify? Let's get them out ASAP.

tim

-- 
Tim Rowledge, tim at sumeru.stanford.edu, http://sumeru.stanford.edu/tim
Strange OpCodes: SDJ: Send all Data to Japan





More information about the Squeak-dev mailing list