OK, I've tried the Smalltalk one...
With rev 2151 gnuification (awk) is done as I have��gnu-interp.c and��gnu-interp.c.log in my build directory.
Benchmark gives me:
Squeak VM 3.11.3 -r 2151 + FT2Plugin + Gnuification
==========================================
312385600 bytecodes/sec; 7320778 sends/sec
310868245 bytecodes/sec; 8271046 sends/sec
310679611 bytecodes/sec; 8271046 sends/sec
310868245 bytecodes/sec; 7232576 sends/sec
310491206 bytecodes/sec; 8271046 sends/sec
compared to
��Squeak VM 3.11.3 -r 2135 + FT2Plugin
==========================================
334421946 bytecodes/sec; 8026581 sends/sec
334640522 bytecodes/sec; 7449884 sends/sec
334421946 bytecodes/sec; 7449884 sends/sec
334421946 bytecodes/sec; 7675486 sends/sec
327156549 bytecodes/sec; 7598782 sends/sec
so it seems that on my machine rev 2135 without gnuification is a little better. I have GCC 4.4.3, ��Linux 32bits.
Laurent Laffont
On Sat, Mar 27, 2010 at 8:55 PM, Levente Uzonyi
<leves@elte.hu> wrote:
On Sat, 27 Mar 2010, laurent laffont wrote:
I've tried gnuification on rev 2151. cmake/configure OK. But while building:
/home/lol/sandbox/squeakvm/Squeak-3.11.3.2151-pharo-src/build/gnu-interp.c:25104:2:
erreur: #error GNUIFICATION FAILED ( 0 )
Which gnuification method did you try?
There are two different versions. The origial version is an awk script which is run when you're building the vm with make. This is executed by default if you have awk installed.
There's another version written in smalltalk (linked by Mariano into this thread) which is not used by VMMAker at the moment, you probably don't need that. If you applied the latter one, you have to make sure that the first one is not executed. You can't gnuifying the sources twice.
Since both do the same, the best you can do now is to ignore the smalltalk version. If VMMaker will adopt Gnuifier.st we can remove the awk dependency from the build process, until then you shouldn't apply it if your platform has awk installed.
Levente