📄 install
字号:
The usual procedure should apply. After you have unpackedthe sources, type (in the sources top-level directory) ./configure makeYou may also pass several other options such as compiler optionsto configure, just type ./configure --help for advice. In particular,you may experiment with compiler optimization flags, which are addedeasily as (assuming you have a bourne-type shell)CFLAGS="-O3 -ffast-math" ./configureThe build should work with gcc, it also works with the Sun Workshopcompiler and maybe others.Test gnuchess by typing ./gnuchess.exe (or ./gnuchess on Linux/Unix) easy new post depth 8 go quitYou should see an 8-ply search. Most machines thesedays should finish it within a few seconds. If not,Control-C out, and do depth 6 go quitinstead.If you got this far, congratulations.If you want to install the software in some global directory,by default /usr/local, become root and type make installIf you want to install the sources in some other directorythan /usr/local, replace the first line by ./configure --prefix=/my/favourite/dir You can build an opening book which may enhance the valueof gnuchess quite a lot. In order to do so, get the filebook.pgn (see book/README for instructions on how to get it)and type the following. ln -s ../book/book.pgn ./gnuchess book add book.pgn quitThis may take some minutes, depending on the speed of yourmachines. The book is quite large (180,000 master games).If you want a smaller book or you do not want to wait, do thefollowing instead: head -30000 ../book/book.pgn > smallbook.pgn ./gnuchess book add smallbook.pgn quitThis will make a much smaller book.Original Author:Stuart CracraftLaguna Niguel, CAMarch, 2001Modifications:Lukas Geyer <lukas@debian.org>Simon Waters <Simon@wretched.demon.co.uk>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -