--- doc/spex.html.orig 2012-05-24 11:32:01 UTC +++ doc/spex.html @@ -257,7 +257,7 @@
Kyoto Cabinet provides API of the C++ language and it is available by programs conforming to the C++03 standard. As the header files of Kyoto Cabinet are provided as `kcutil.h
', `kchashdb.h
', and so on, applications should include one or more of them accordingly to use the API. As the library is provided as `libkyotocabinet.a
' and `libkyotocabinet.so
' and they depends on `libz.so
', `libstdc++.so
', `librt.so
', `libpthread.so
', `libm.so
', and `libc.so
', linker options corresponding to them are required by the build command. The typical build command is the following.
$ g++ -I/usr/local/include example.cc -o example \ - -L/usr/local/lib -lkyotocabinet -lz -lstdc++ -lrt -lpthread -lm -lc + -L/usr/local/lib -lkyotocabinet -lz -lrt -lpthread -lm -lc