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
Laurent Laffont
On Sat, Mar 27, 2010 at 6:47 PM, laurent laffont
<laurent.laff...@gmail.com>wrote:
Does it mean latest SVN source is already "Gnuified" ? With latest rev.
I
have a little drop in benchmarks. However I'd rather put a stable
release
for Pharo 1.0 than latest trunk. What do you think ?
The so-called "gnuification" is a transformation of the interp.c file. So
this is done after generating the sources with VMMaker. The cmake
configuration that comes with revision 2135 does not have this step enabled,
and the more recent version that I used, revision 2151, has it. The magic is
in the awk script in unix/cmake/gnuify.awk which produes gnu-interp.c.
OK thanks. I will take a look.
Laurent Laffont
Cheers,
Adrian
Laurent Laffont
Adrian
_______________________________________________
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project