/usr/share/doc/sp/build.htm is in sp 1.3.4-1.2.1-47.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 | <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML Strict//EN">
<HTML>
<HEAD>
<TITLE>Building SP</TITLE>
</HEAD>
<BODY>
<H1>Building SP</H1>
<P>
You will need a C++ compiler with good template support to build this.
Support for exceptions is not required.
<P>
In most cases you should be able to port to a new compiler just by
editing <code>include/config.h</code>.
<H2>Unix</H2>
<P>
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.
<P>
<SAMP>make install</SAMP> installs the programs.
<P>
You can use the following compilers:
<DL>
<DT>
gcc
<DD>
gcc 2.95.1 works.
<P>
With gcc 2.6.3/SunOS 4, you'll need to compile with
<CODE>-Dsig_atomic_t=int</CODE>, and, if you want to compile with
-DSP_HAVE_SOCKET, you'll need to make netdb.h and arpa/inet.h C++
compatible.
<DT>
Sun C++
<DD>
To compile with Sun C++ 4.0.1, run first sunfix.sh. Also in the
top-level Makefile, change set libMakefile to Makefile.lib.sun.
This makes the library build use the -xar option.
</DL>
<P>
Nelson Beebe has ported SP to a variety of other Unix systems and has
produced some <A
HREF="http://www.math.utah.edu/~beebe/sp-notes-1.0.1.html">notes</A>
about his experiences.
<H2>Windows</H2>
<P>
The following compilers have been tested:
<DL>
<DT>
Visual C++ 6.0
<DD>
Make sure the msdev directory is in your path, by using a command
similar to:
<pre>
path c:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin;%path%
</pre>
Then build SP using the command
<pre>
msdev SP.dsw /make "all - release" /norecurse
</pre>
</DL>
<P>
<ADDRESS>
James Clark<BR>
jjc@jclark.com
</ADDRESS>
</BODY>
</HTML>
|