[Vm-dev] ac_cv_cflags_warn_all in unix configure script

stes stes at telenet.be
Fri Mar 27 17:03:03 UTC 2020


Yes, I checked out the subversion sources from squeakvm and they compile
with the SUNpro C compiler.

That is the build32 succeeds and the build64 almost succeeds, but I didn't
try further on the build64 because it appears that "squakvm" classic only
can run 4.x squeak images.

I had to make one modification to make the build32 work.



bash-4.4$ svn diff platforms/
Index: platforms/unix/vm/sqUnixMain.c
===================================================================
--- platforms/unix/vm/sqUnixMain.c	(revision 3775)
+++ platforms/unix/vm/sqUnixMain.c	(working copy)
@@ -447,7 +447,7 @@
 	return  dpy->winSystemName();
       case 1006:
 	/* vm build string */
-	return VM_BUILD_STRING;
+	return "VM_SunStudio";
       default:
 	if ((id - 2) < squeakArgCnt)
 	  return squeakArgVec[id - 2];
bash-4.4$ svn diff src       


the reason is that the VM_BUILD_STRING is defined using a symbol __VERSION__
that is not set I think by the SUNpro C compiler, or at least not by
default.

So to get the build working I just replaced VM_BUILD_STRING by
"VM_SunStudio".

Then it built (in 32bit) 100% and it launches 4.x Squeak images fine.

The 64bit build for squeakvm classic currently fails at 97% on the file
sqUnixSoundSun.c
 line 197: identifier redeclared: sound_AvailableSpace


but the squeakvm classic is not running squeak 5.x images, so I stopped
looking at the squeakvm classic for now.

The squeakvm classic is compiling fine on Solaris, it can be seen that this
has been done in the past as well ... there are binary packages for Solaris
on the squeakvm.org website of course, so it's not so much of a surprise.






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


More information about the Vm-dev mailing list