/*!\page INSTALL INSTALL
./configure makeIf this fails, read the next section for more information. A successful make creates a library libcvc3 in the lib directory and an executable cvc3 in the bin directory (these are actually links to the actual files which are stored in architecture and configuration-dependent subdirectories). By default, make creates optimized code, static libraries, and a static executable. To build the "debug" version (much slower but more error checking) use:
./configure --with-build=debugTo build shared libraries (and thus a much smaller executable), use:
./configure --enable-dynamicBe sure to set LD_LIBRARY_PATH to <cvc3dir>/lib when using shared libraries. Alternatively, these and other options can be changed by editing the Makefile.local file after running configure. However, be aware that re-running configure will overwrite any changes you have made to Makefile.local. The subdirectory test contains an example program using the library libcvc3. To try it out, do the following:
cd test make bin/test
./configure makeOn some Solaris machines, you may need to configure GMP with
./configure ABI=32to make the resulting GMP library compatible with the CVC3 libraries. The reason for this is that the default ABI that gcc chooses in CVC3 compilation is not necessarily the default ABI that the GMP configure script selects, and one of them may need to be adjusted. 3. Now, either install GMP system-wide (make install), or supply the appropriate values for CPPFLAGS and LDFLAGS to the CVC3 configure script. If for some reason, you do not want to use GMP, you can configure CVC3 to use native arithmetic by running:
./configure --with-arith=nativeIf you compile CVC3 with native arithmetic, it is possible that CVC3 may fail as the result of arithmetic overflow. If an overflow occurs, you will get an error message and CVC3 will abort.
./configure --helpconfigure creates the file Makefile.local which stores all of the configuration information. If you want to customize your build without rerunning configure, or if you want to customize it in a way that configure does not allow, you can do it by editing Makefile.local. For example, you can build a debug, gprof version by editing Makefile.local and setting OPTIMIZED to 0 and GPROF to 1 (by default, gprof runs with an optimized executable). Note that for most configuration options, the objects, libraries, and executables are stored in a configuration-dependent directory, with only symbolic links being stored in the main bin and lib directories. This allows you to easily maintain multiple configurations and multiple platforms using the same source tree.
make dependTo remove just the executable or libraries in the current configuration, type:
make spottyTo remove in addition all object files and makefile dependencies for the current configuration, type:
make cleanTo remove all files that are not part of the distribution (including all object, library, ane executables built for any configuration or platform), type:
make distcleanTo build a tarball distribution of the currenct source tree, type:
make dist
make installInstallation depends on two configuration options: prefix and exec_prefix. By default, both are set to /usr/local, but these can be overridden by specifying the correct arguments to configure or by editing Makefile.local. Installation copies all necessary header files to <prefix>/include/cvc3. It installs the library libcvc3 in <exec_prefix>/lib and the executable cvc3 in <exec_prefix>/bin. By default, a shared library and executable are installed. If you want to install static versions, configure for a static build as described above.
make docThen open doc/html/index.html in your favorite browser.