[Vm-dev] build64 in squeakvm classic

stes stes at telenet.be
Mon Mar 30 06:15:06 UTC 2020



David T. Lewis wrote
> Hi stes,
> 
> If I understand correctly, you have successfully built a 32-bit VM
> that runs a 64-bit V3 image. I have not actually tested that combination
> in quite a few years, so I am happy to hear that it still works.

Yes, I am trying various combinations "squeakvm classic" in 32bit and 64bit
(build64) mode,
and also the "opensmalltalk vm" in 32 bit and 64 bit.

Initially I was a little confused regarding the various "Squeak images"
available,
but thanks for explaining, what you wrote, clarifies the situation and the
situation regarding 64bit images.

By the way the minor patch to compile "squeak vm" classic on solaris amd64
was:

bash-4.4$ svn diff platforms/
Index: platforms/unix/vm/config.cmake
===================================================================
--- platforms/unix/vm/config.cmake	(revision 3775)
+++ platforms/unix/vm/config.cmake	(working copy)
@@ -202,7 +202,7 @@
 
 # sqUnixMain.c
 
-SET (VM_BUILD_STRING "\"Unix built on \"__DATE__ \" \"__TIME__\" Compiler:
\"__VERSION__")
+SET (VM_BUILD_STRING "\"Unix built on \"__DATE__ \" \"__TIME__\" Compiler:
${CMAKE_C_COMPILER_VERSION}\"") 
 
 CONFIG_DEFINE (VM_BUILD_STRING)
 
Index: platforms/unix/vm-sound-Sun/sqUnixSoundSun.c
===================================================================
--- platforms/unix/vm-sound-Sun/sqUnixSoundSun.c	(revision 3775)
+++ platforms/unix/vm-sound-Sun/sqUnixSoundSun.c	(working copy)
@@ -72,7 +72,7 @@
 #endif
 
 static sqInt sound_Stop(void);
-static int sound_AvailableSpace(void);
+static sqInt sound_AvailableSpace(void);
 
 static int auFd=	       -1;   /* open on /dev/audio */
 static int auCtlFd=	       -1;   /* open on /dev/audioctl */




--
Sent from: http://forum.world.st/Squeak-VM-f104410.html


More information about the Vm-dev mailing list