memory and VM issues

Alan Grimes alangrimes at starpower.net
Fri Jul 15 19:20:42 UTC 2005


John M McIntosh wrote:

> Alan these errors tell me that your gnu-interp.c has
> /* memory access macros */
>
> #define byteAt(i) (*((unsigned char *) (i)))
> #define byteAtput(i, val) (*((unsigned char *) (i)) = val)
> #define longAt(i) (*((int *) (i)))
> #define longAtput(i, val) (*((int *) (i)) = val)
>
> in the first 20 or so lines? Yes?


Yes, when I was hacking on the VM several years ago, that was indeed how
it was laid out... I don't even have to look to tell you that you are
right about this.

> This means your VMMaker build of the source (aka interp.c) did not 
> produce the right code.


Undoubtably...

> Check the version of VMMaker (let us know) and build a new source 
> tree then check interp.c, then check that gnu-interp.c gets created 
> correctly.


Each time I attempt a build I run "svn update" AND pull all 400k of
squeakmap's catalogue over my dialup connection.

The latest version available on Squeakmap is 3.8b3

Strangely, there is no Vmmaker for the latest release, 3.7-7.

> Also you are missing interp.h, build that should be in the unix build 
> process somewhere, you need that too.


Yep.
But it's not in SVN or on Squeakmap. I don't know anything more about it.



More information about the Squeak-dev mailing list