File: Build-Tools.html

package info (click to toggle)
octave 10.3.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 145,388 kB
  • sloc: cpp: 335,976; ansic: 82,241; fortran: 20,963; objc: 9,402; sh: 8,756; yacc: 4,392; lex: 4,333; perl: 1,544; java: 1,366; awk: 1,259; makefile: 660; xml: 192
file content (126 lines) | stat: -rw-r--r-- 5,797 bytes parent folder | download
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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
<!DOCTYPE html>
<html>
<!-- Created by GNU Texinfo 7.1.1, https://www.gnu.org/software/texinfo/ -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Build Tools (GNU Octave (version 10.3.0))</title>

<meta name="description" content="Build Tools (GNU Octave (version 10.3.0))">
<meta name="keywords" content="Build Tools (GNU Octave (version 10.3.0))">
<meta name="resource-type" content="document">
<meta name="distribution" content="global">
<meta name="Generator" content="makeinfo">
<meta name="viewport" content="width=device-width,initial-scale=1">

<link href="index.html" rel="start" title="Top">
<link href="Concept-Index.html" rel="index" title="Concept Index">
<link href="index.html#SEC_Contents" rel="contents" title="Table of Contents">
<link href="Build-Dependencies.html" rel="up" title="Build Dependencies">
<link href="External-Packages.html" rel="next" title="External Packages">
<link href="Obtaining-the-Dependencies-Automatically.html" rel="prev" title="Obtaining the Dependencies Automatically">
<style type="text/css">
<!--
a.copiable-link {visibility: hidden; text-decoration: none; line-height: 0em}
span:hover a.copiable-link {visibility: visible}
-->
</style>
<link rel="stylesheet" type="text/css" href="octave.css">


</head>

<body lang="en">
<div class="subsection-level-extent" id="Build-Tools">
<div class="nav-panel">
<p>
Next: <a href="External-Packages.html" accesskey="n" rel="next">External Packages</a>, Previous: <a href="Obtaining-the-Dependencies-Automatically.html" accesskey="p" rel="prev">Obtaining the Dependencies Automatically</a>, Up: <a href="Build-Dependencies.html" accesskey="u" rel="up">Build Dependencies</a> &nbsp; [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Concept-Index.html" title="Index" rel="index">Index</a>]</p>
</div>
<hr>
<h4 class="subsection" id="Build-Tools-1"><span>E.1.2 Build Tools<a class="copiable-link" href="#Build-Tools-1"> &para;</a></span></h4>

<p>The following tools are required:
</p>
<dl class="table">
<dt>C++, C, and Fortran compilers</dt>
<dd><p>The Octave sources are primarily written in C++, but some portions are
also written in C and Fortran.  The Octave sources are intended to be
portable.  Recent versions of the GNU compiler collection (GCC) should
work (<a class="url" href="https://gcc.gnu.org">https://gcc.gnu.org</a>).  If you use GCC, you should avoid
mixing versions.  For example, be sure that you are not using the
obsolete <code class="code">g77</code> Fortran compiler with modern versions of <code class="code">gcc</code>
and <code class="code">g++</code>.
</p>
</dd>
<dt>GNU Make</dt>
<dd><p>Tool for building software (<a class="url" href="https://www.gnu.org/software/make">https://www.gnu.org/software/make</a>).
Octave&rsquo;s build system requires GNU Make.  Other versions of Make will
not work.  Fortunately, GNU Make is highly portable and easy to install.
</p>
</dd>
<dt>AWK, sed, and other Unix utilities</dt>
<dd><p>Basic Unix system utilities are required for building Octave.  All will
be available with any modern Unix system and also on Windows with either
Cygwin or MinGW and MSYS.
</p></dd>
</dl>

<p>Additionally, the following tools may be needed:
</p>
<dl class="table">
<dt>Bison</dt>
<dd><p>Parser generator (<a class="url" href="https://www.gnu.org/software/bison">https://www.gnu.org/software/bison</a>).
You will need Bison if you modify the <code class="code">oct-parse.yy</code> source file or
if you delete the files that are generated from it.
</p>
</dd>
<dt>Flex</dt>
<dd><p>Lexer analyzer (<a class="url" href="https://www.gnu.org/software/flex">https://www.gnu.org/software/flex</a>).  You will need
Flex if you modify the <code class="code">lex.ll</code> source file or if you delete the
files that are generated from it.
</p>
</dd>
<dt>Autoconf</dt>
<dd><p>Package for software configuration
(<a class="url" href="https://www.gnu.org/software/autoconf">https://www.gnu.org/software/autoconf</a>).  Autoconf is required if
you modify Octave&rsquo;s <code class="code">configure.ac</code> file or other files that it
requires.
</p>
</dd>
<dt>Automake</dt>
<dd><p>Package for Makefile generation
(<a class="url" href="https://www.gnu.org/software/automake">https://www.gnu.org/software/automake</a>).  Automake is required if
you modify Octave&rsquo;s <code class="code">Makefile.am</code> files or other files that they
depend on.
</p>
</dd>
<dt>Libtool</dt>
<dd><p>Package for building software libraries
(<a class="url" href="https://www.gnu.org/software/libtool">https://www.gnu.org/software/libtool</a>).  Libtool is required by
Automake.
</p>
</dd>
<dt>gperf</dt>
<dd><p>Perfect hash function generator (<a class="url" href="https://www.gnu.org/software/gperf">https://www.gnu.org/software/gperf</a>).
You will need gperf if you modify the <code class="code">octave.gperf</code> file or if you
delete the file that is generated from it.
</p>
</dd>
<dt>Texinfo</dt>
<dd><p>Package for generating online and print documentation
(<a class="url" href="https://www.gnu.org/software/texinfo">https://www.gnu.org/software/texinfo</a>).  You will need Texinfo to
build Octave&rsquo;s documentation or if you modify the documentation source
files or the docstring of any Octave function.
</p></dd>
</dl>

</div>
<hr>
<div class="nav-panel">
<p>
Next: <a href="External-Packages.html">External Packages</a>, Previous: <a href="Obtaining-the-Dependencies-Automatically.html">Obtaining the Dependencies Automatically</a>, Up: <a href="Build-Dependencies.html">Build Dependencies</a> &nbsp; [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Concept-Index.html" title="Index" rel="index">Index</a>]</p>
</div>



</body>
</html>