Worked on this a bit tonight (in a standalone script to make testing easier):
the mt=4 is not working because not compiled for SMP. I can't for the life of me get that working
Code:
#! /bin/bash
wget -N http://www.craftychess.com/crafty-23.4.zip
unzip -o crafty-23.4.zip
cd crafty-23.4/
export target=LINUX
export CFLAGS="-Wall -pipe -O3 -fomit-frame-pointer $CFLAGS"
export CXFLAGS="-Wall -pipe -O3 -fomit-frame-pointer"
export LDFLAGS="$LDFLAGS -lstdc++"
make crafty-make
echo $? > ~/install-exit-status
chmod +x crafty
./crafty bench end
./crafty bench mt=4
cd ..