You will need a C++ compiler with good template support to build this. Support for exceptions is not required.
In most cases you should be able to port to a new compiler just by
editing include/config.h
.
To build on Unix, edit the Makefile, and do a make. You can also build in a different directory. This requires GNU make or another make that implements VPATH. Copy or link the top-level Makefile to the build directory, change srcdir in the Makefile to point to the original directory, and do a make in the build directory.
make install installs the programs.
You can use the following compilers:
With gcc 2.6.3/SunOS 4, you'll need to compile with
-Dsig_atomic_t=int
, and, if you want to compile with
-DSP_HAVE_SOCKET, you'll need to make netdb.h and arpa/inet.h C++
compatible.
Nelson Beebe has ported SP to a variety of other Unix systems and has produced some notes about his experiences.
The following compilers have been tested:
path c:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin;%path%Then build SP using the command
msdev SP.dsw /make "all - release" /norecurse
James Clark