Hello lucy_dev,
The stand-alone C library is ready for testing by a wider audience. On
UNIX-like systems, simply run:
$ git clone https://git-wip-us.apache.org/repos/asf/lucy.git
$ cd lucy/c
$ ./configure
$ make -j5 test
Please use the -j option to help testing parallel builds. It's a lot faster,
too. On my MacBook, a complete build takes about 19 seconds. If you run into
problems, try without -j.
For Windows systems, you can find build instructions in c/INSTALL.
Other features of the build system
----------------------------------
Clean the build:
$ make clean
Clean all files including those generated by configure:
$ make distclean
Use a different C compiler:
$ CC=other-cc ./configure
Pass additional compiler flags:
$ ./configure -- -flag1 -flag2
Generate code coverage report (requires lcov):
$ ./configure --enable-coverage
$ make -j5 coverage
$ open coverage/index.html
OSes and compilers tested by me so far
--------------------------------------
OS X 10.8, clang
Ubuntu 12.10, gcc
Debian sid, gcc
Windows 7, MSVC 6, nmake
Windows 7, MSVC 10, nmake
Windows 7, MinGW, gcc, nmake
Windows 7, MinGW, gcc, mingw32-make
Windows 7, Cygwin, gcc
Still TODO
----------
- Library versioning
- Installation
- Man pages
Nick