[Vm-dev] Re: Cog on Linux
Paul DeBruicker
pdebruic at gmail.com
Thu Jul 22 20:10:11 UTC 2010
Hi Rob,
In case you never got a CogVM compiled:
I was able to compile to 32bit VM on 64 bit ubuntu 10.04 desktop after
installing these packages:
lib32asound2-dev
libgl1-mesa-dev
libglu1-mesa-dev
build-essential
ia32-libs
gcc-multilib
g++multilib
Then follow the instructions here:
http://www.squeakvm.org/svn/squeak/branches/Cog/unixbuild/HowToBuild
This was the configure incantation:
../../platforms/unix/config/configure CC="gcc -m32" CXX="g++ -m32"
CFLAGS="-g -O2 -msse2 -D_GNU_SOURCE -DNDEBUG -DITIMER_HEARTBEAT=1
-DNO_VM_PROFILE=1 -DCOGMTVM=0" LIBS=-lpthread
Then do this:
http://forum.world.st/CogVM-td2262856.html#a2262856
But. The VM will open your image, but it seg faults a short, random
amount of time after that. Even if you make the change Eliot recommends
here:
http://forum.world.st/Cog-segfaults-on-linux-td2289607.html#a2289607
Good luck.
Paul
More information about the Vm-dev
mailing list