| ·Home· | ·About· | ·Development· | ·Support/FAQ· | ·Services· | ·Careers· |
OPP 0.2.5 Installation InstructionsThis page contains installation instructions for OPP 0.2.5. See install.html for OPP 0.3 installation instructions. More information about OPP is available by following the links at the top of the page. | Page Index |
Requirements |
OPP 0.2.5 has only been tested on Linux, but has been reported to work on Solaris and other UNIX operating systems with at most minor changes. OPP 0.2.5 requires gcc versions egcs 2.91.66 or gcc 2.95.x. OPP 0.2.5 probably doesn't work with gcc 3. OPP requires GNU make. |
Configure |
For now, you must modify config.h to identify the flags and location of your compiler. The defaults are appropriate for building with optimization using gcc or egcs installed as /usr/bin/gcc and /usr/bin/c++. |
Build |
Building OPP is as simple as typing make inside the top level directory. OPP uses an automagic dependency calculator derived from the GNU make documentation. This dependency calculator has three problems and will be removed or fixed in a future release. The problems are:
You can do 'make' to make the library, and 'make install' to 'install' it (to the opp/lib subdirectory). |
Install |
OPP 0.2.5 must be used out of the same directory that it is built in. The 'make install' option is required, but will not install OPP outside of the build directory. |
Use |
Add the following lines to your application makefile: OPPHOME=destdir include $OPPHOME/config.hwhere destdir is the directory where you installed OPP. Also add linker options to include each OPP package that your application uses. See the example programs or test drivers included with OPP. |
Modified Sun Jan 13 19:37:26 EST 2002
Copyright 2002, Odin Consulting, Inc. This document may be freely redistributed in its entirety so long as this copyright notice remains in place.