[squeak-dev] 64bit or 32bit VM

David T. Lewis lewis at mail.msen.com
Sat Nov 8 13:59:41 UTC 2008


On Fri, Nov 07, 2008 at 05:53:54PM -0800, Brad Fuller wrote:
> I was building the latest svn VM, out of the box, on a Linux 64bit
> machine, and while it made, it doesn't work when calling plugins (it
> segfaults). Could this because I built it, by default, on 64bit? If
> so, is there a way to set the compile to 32bit? I didn't see a setting
> for 32bit wide in.configure. Perhaps it's a --build=BUILD option?

You will need to use a recent VMMaker with all of the 32/64 bit clean
patches applied. You can get this from the squeaksource.com project.
Some of the VMMaker versions on SqueakMap/Universes are probably not
up to date in this respect.

Some plugins have not been update for 64 bit machines, so you will
not be able to build all of them.

As for building 32 bit apps on a 64 bit Linux, I'm sure that's in the
Linux and/or GCC FAQs somewhere, but I always just build a 64 bit VM
for my own use and it works fine.

> While I'm on the subject, I thought maybe I'd try the 64bit VM. What's
> the difference between the source at:
> http://squeakvm.org/squeak64/dist3/
> and the svn at:
> http://www.squeakvm.org/cgi-bin/viewcvs.cgi

The sources are http://squeakvm.org/squeak64/dist3/ are the original
development work that Dan and Ian did to produce 64 bit Squeak VMs and
images. They are out of date with respect to current SVN sources and
current Squeak 32 bit images. Assuming that you are just trying to make
a 64 bit VM to run normal Squeak images, you can disregard the dist3
sources.

Dave




More information about the Squeak-dev mailing list