ZirconiumX wrote:a) Yes.
b) PPC G4 running 10.4.11
c) Gives
Code: Select all
-bash: /Users/matthew/Desktop/ippolit/ippolit: cannot execute binary file
It is possible to compile universal! (gcc -arch ppc then lipo the two together)
Matthew:out
Hello Matthew,
Beware that PPC are BIGENDIAN, and some hacky code (typically low level bitboard tricks), if not done carefully, can be endianness sensitive. Writing endianness sensitive code is of course very bad programming practice, but there are probably many engines around that do it, knowingly or not.
In fact, I'm not even sure if my engine DoubleCheck is endianness sensitive or not. If I may ask you a favour, would you like to compile and test it on your machine ?
It's very simple:
1/ download it here:
http://wbec-ridderkerk.nl/html/details1 ... Check.html
2/ open a terminal, cd into the src directory, and type "make".
Provided there are no compile errors, you should get an executable ./DC, whose integrity (and speed) can be verified with a "bench" command, just like Stockfish. Example on my machine:
Code: Select all
lucas@megatron:~/Chess/DoubleCheck_26/src$ ./DC bench|tail -1
nodes = 4889484 time = 5.710000
The node count on your machine must match this number exactly, otherwise the compile is functionally wrong (and it most likely means my code is endianness sensitive). And the time is of course a speed benchmark. It allows me to:
* rescale testing time between my two machines for example.
* verify any non functional code cleanup didn't introduce any bugs
* measure the speed improvement of non functional speed optimizations
Thank you!