TIVI-153: Add as dependency for iputils
[profile/ivi/opensp.git] / doc / build.htm
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML Strict//EN">
2 <HTML>
3 <HEAD>
4 <TITLE>Building OpenSP</TITLE>
5 </HEAD>
6 <BODY>
7 <H1>Building OpenSP</H1>
8 <P>
9 <h3><A NAME=building-win32>Win32</A></h3>
10 <p>
11 Only Microsoft Visual C++ 6.0 is supported. Also, Perl 5 is required; the
12 executable must be on your PATH.
13 </p>
14 <p>
15 To build on the command line, ensure that the directories
16 containing <code>msdev</code> and <code>nmake</code> are in your path,
17 typically by executing
18 the command:
19 <pre>
20 path C:/Program Files/Microsoft Visual Studio/Common/MSDev98/Bin;
21     C:/Program Files/Microsoft Visual Studio/VC98/Bin;%path%
22 </pre>
23 <p>
24 (all in one long line) then run the command:
25
26 <pre>
27 build-win32.bat
28 </pre>
29 <p>
30 To build using the Visual
31 Studio GUI, open the workspace <code>SP.dsw</code> and build the
32 <code>Win32&nbsp;Release</code> configuration of the <code>all</code>
33 project.  You must first do a command-line build, however, to get
34 the perl-generated files.
35 </p>
36 <h4>Localized Win32 builds</h4>
37 <p>
38 The messages issued by the OpenSP programs have been translated 
39 (currently German and Swedish are supported). Although it is not
40 yet possible to select the language at runtime under Windows, it
41 is possible to select the language at build time. To do so, you
42 have to set the variable <code>LANG</code> in 
43 <code>sp-generate.mak</code> to one of the following values:
44 </p>
45 <ul>
46 <li><code>en</code> for English (default)
47 <li><code>de</code> for German
48 <li><code>sv</code> for Swedish
49 </ul>
50 <p>After that you have to regenerate all <code>.rc</code> files.</p>
51 <h3><A NAME=building-unix>Unix</A></h3>
52 <p>
53 Use the <a HREF="autoconf.htm">autoconf support</a>.
54 </body>
55 </html>