Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(108)

Side by Side Diff: gcc/INSTALL/prerequisites.html

Issue 3050029: [gcc] GCC 4.5.0=>4.5.1 (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/nacl-toolchain.git
Patch Set: Created 10 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « gcc/INSTALL/old.html ('k') | gcc/INSTALL/specific.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <html lang="en"> 1 <html lang="en">
2 <head> 2 <head>
3 <title>Prerequisites for GCC</title> 3 <title>Prerequisites for GCC</title>
4 <meta http-equiv="Content-Type" content="text/html"> 4 <meta http-equiv="Content-Type" content="text/html">
5 <meta name="description" content="Prerequisites for GCC"> 5 <meta name="description" content="Prerequisites for GCC">
6 <meta name="generator" content="makeinfo 4.13"> 6 <meta name="generator" content="makeinfo 4.12">
7 <link title="Top" rel="top" href="#Top"> 7 <link title="Top" rel="top" href="#Top">
8 <link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Te xinfo Homepage"> 8 <link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Te xinfo Homepage">
9 <!-- 9 <!--
10 Copyright (C) 1988, 1989, 1992, 1993, 1994, 1995, 1996, 1997, 10 Copyright (C) 1988, 1989, 1992, 1993, 1994, 1995, 1996, 1997,
11 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 11 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
12 2008 Free Software Foundation, Inc. 12 2008 Free Software Foundation, Inc.
13 13
14 Permission is granted to copy, distribute and/or modify this document 14 Permission is granted to copy, distribute and/or modify this document
15 under the terms of the GNU Free Documentation License, Version 1.2 or 15 under the terms of the GNU Free Documentation License, Version 1.2 or
16 any later version published by the Free Software Foundation; with no 16 any later version published by the Free Software Foundation; with no
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 obtained via FTP mirror sites. 96 obtained via FTP mirror sites.
97 97
98 <br><dt>GNU make version 3.80 (or later)<dd> 98 <br><dt>GNU make version 3.80 (or later)<dd>
99 You must have GNU make installed to build GCC. 99 You must have GNU make installed to build GCC.
100 100
101 <br><dt>GNU tar version 1.14 (or later)<dd> 101 <br><dt>GNU tar version 1.14 (or later)<dd>
102 Necessary (only on some platforms) to untar the source code. Many 102 Necessary (only on some platforms) to untar the source code. Many
103 systems' <samp><span class="command">tar</span></samp> programs will also work, only try GNU 103 systems' <samp><span class="command">tar</span></samp> programs will also work, only try GNU
104 <samp><span class="command">tar</span></samp> if you have problems. 104 <samp><span class="command">tar</span></samp> if you have problems.
105 105
106 <br><dt>GNU Multiple Precision Library (GMP) version 4.1 (or later)<dd> 106 <br><dt>GNU Multiple Precision Library (GMP) version 4.3.2 (or later)<dd>
107 Necessary to build GCC. If you do not have it installed in your 107 Necessary to build GCC. If you do not have it installed in your
108 library search path, you will have to configure with the 108 library search path, you will have to configure with the
109 <samp><span class="option">--with-gmp</span></samp> configure option. See also <samp><span class="option">--with-gmp-lib</span></samp> 109 <samp><span class="option">--with-gmp</span></samp> configure option. See also <samp><span class="option">--with-gmp-lib</span></samp>
110 and <samp><span class="option">--with-gmp-include</span></samp>. Alternatively, if a GMP source 110 and <samp><span class="option">--with-gmp-include</span></samp>. Alternatively, if a GMP source
111 distribution is found in a subdirectory of your GCC sources named 111 distribution is found in a subdirectory of your GCC sources named
112 <samp><span class="file">gmp</span></samp>, it will be built together with GCC. 112 <samp><span class="file">gmp</span></samp>, it will be built together with GCC.
113 113
114 <br><dt>MPFR Library version 2.3.2 (or later)<dd> 114 <br><dt>MPFR Library version 2.4.2 (or later)<dd>
115 Necessary to build GCC. It can be downloaded from 115 Necessary to build GCC. It can be downloaded from
116 <a href="http://www.mpfr.org/">http://www.mpfr.org/</a>. The version of MPFR th at is bundled with 116 <a href="http://www.mpfr.org/">http://www.mpfr.org/</a>. The <samp><span class= "option">--with-mpfr</span></samp> configure
117 GMP 4.1.x contains numerous bugs. Although GCC may appear to function 117 option should be used if your MPFR Library is not installed in your
118 with the buggy versions of MPFR, there are a few bugs that will not be 118 default library search path. See also <samp><span class="option">--with-mpfr-li b</span></samp> and
119 fixed when using this version. It is strongly recommended to upgrade 119 <samp><span class="option">--with-mpfr-include</span></samp>. Alternatively, if a MPFR source
120 to the recommended version of MPFR. 120 distribution is found in a subdirectory of your GCC sources named
121 <samp><span class="file">mpfr</span></samp>, it will be built together with GCC.
121 122
122 <p>The <samp><span class="option">--with-mpfr</span></samp> configure optio n should be used if your MPFR 123 <br><dt>MPC Library version 0.8.1 (or later)<dd>
123 Library is not installed in your default library search path. See also 124 Necessary to build GCC. It can be downloaded from
124 <samp><span class="option">--with-mpfr-lib</span></samp> and <samp><span class=" option">--with-mpfr-include</span></samp>. 125 <a href="http://www.multiprecision.org/">http://www.multiprecision.org/</a>. Th e <samp><span class="option">--with-mpc</span></samp>
125 Alternatively, if a MPFR source distribution is found in a subdirectory 126 configure option should be used if your MPC Library is not installed
126 of your GCC sources named <samp><span class="file">mpfr</span></samp>, it will b e built together with 127 in your default library search path. See also <samp><span class="option">--with -mpc-lib</span></samp>
127 GCC. 128 and <samp><span class="option">--with-mpc-include</span></samp>. Alternatively, if an MPC source
129 distribution is found in a subdirectory of your GCC sources named
130 <samp><span class="file">mpc</span></samp>, it will be built together with GCC.
128 131
129 <br><dt>Parma Polyhedra Library (PPL) version 0.10<dd> 132 <br><dt>Parma Polyhedra Library (PPL) version 0.10<dd>
130 Necessary to build GCC with the Graphite loop optimizations. 133 Necessary to build GCC with the Graphite loop optimizations.
131 It can be downloaded from <a href="http://www.cs.unipr.it/ppl/Download/">http:// www.cs.unipr.it/ppl/Download/</a>. 134 It can be downloaded from <a href="http://www.cs.unipr.it/ppl/Download/">http:// www.cs.unipr.it/ppl/Download/</a>.
132 135
133 <p>The <samp><span class="option">--with-ppl</span></samp> configure option should be used if PPL is not 136 <p>The <samp><span class="option">--with-ppl</span></samp> configure option should be used if PPL is not
134 installed in your default library search path. 137 installed in your default library search path.
135 138
136 <br><dt>CLooG-PPL version 0.15<dd> 139 <br><dt>CLooG-PPL version 0.15<dd>
137 Necessary to build GCC with the Graphite loop optimizations. It can 140 Necessary to build GCC with the Graphite loop optimizations. It can
138 be downloaded from <a href="ftp://gcc.gnu.org/pub/gcc/infrastructure/">ftp://gcc .gnu.org/pub/gcc/infrastructure/</a>. 141 be downloaded from <a href="ftp://gcc.gnu.org/pub/gcc/infrastructure/">ftp://gcc .gnu.org/pub/gcc/infrastructure/</a>.
139 The code in <samp><span class="file">cloog-ppl-0.15.tar.gz</span></samp> comes f rom a branch of CLooG 142 The code in <samp><span class="file">cloog-ppl-0.15.tar.gz</span></samp> comes f rom a branch of CLooG
140 available from <a href="http://repo.or.cz/w/cloog-ppl.git">http://repo.or.cz/w/c loog-ppl.git</a>. CLooG-PPL 143 available from <a href="http://repo.or.cz/w/cloog-ppl.git">http://repo.or.cz/w/c loog-ppl.git</a>. CLooG-PPL
141 should be configured with <samp><span class="option">--with-ppl</span></samp>. 144 should be configured with <samp><span class="option">--with-ppl</span></samp>.
142 145
143 <p>The <samp><span class="option">--with-cloog</span></samp> configure opti on should be used if CLooG is 146 <p>The <samp><span class="option">--with-cloog</span></samp> configure opti on should be used if CLooG is
144 not installed in your default library search path. 147 not installed in your default library search path.
145 148
146 <br><dt><samp><span class="command">jar</span></samp>, or InfoZIP (<samp><s pan class="command">zip</span></samp> and <samp><span class="command">unzip</spa n></samp>)<dd> 149 <br><dt><samp><span class="command">jar</span></samp>, or InfoZIP (<samp><s pan class="command">zip</span></samp> and <samp><span class="command">unzip</spa n></samp>)<dd>
147 Necessary to build libgcj, the GCJ runtime. 150 Necessary to build libgcj, the GCJ runtime.
148 151
152 <br><dt>libelf version 0.8.12 (or later)<dd>
153 Necessary to build link-time optimization (LTO) support. It can be
154 downloaded from <a href="http://www.mr511.de/software/libelf-0.8.12.tar.gz">http ://www.mr511.de/software/libelf-0.8.12.tar.gz</a>,
155 though it is commonly available in several systems. The versions in
156 IRIX 5 and 6 don't work since they lack <samp><span class="file">gelf.h</span></ samp>. The version in
157 Solaris 2 does work.
158
159 <p>The <samp><span class="option">--with-libelf</span></samp> configure opt ion should be used if libelf is
160 not installed in your default library search patch.
161
149 </dl> 162 </dl>
150 163
151 <h3 class="heading"><a name="TOC1"></a>Tools/packages necessary for modifying GC C</h3> 164 <h3 class="heading"><a name="TOC1"></a>Tools/packages necessary for modifying GC C</h3>
152 165
153 <dl> 166 <dl>
154 <dt>autoconf version 2.59<dt>GNU m4 version 1.4 (or later)<dd> 167 <dt>autoconf version 2.64<dt>GNU m4 version 1.4.6 (or later)<dd>
155 Necessary when modifying <samp><span class="file">configure.ac</span></samp>, <s amp><span class="file">aclocal.m4</span></samp>, etc. 168 Necessary when modifying <samp><span class="file">configure.ac</span></samp>, <s amp><span class="file">aclocal.m4</span></samp>, etc.
156 to regenerate <samp><span class="file">configure</span></samp> and <samp><span c lass="file">config.in</span></samp> files. 169 to regenerate <samp><span class="file">configure</span></samp> and <samp><span c lass="file">config.in</span></samp> files.
157 170
158 <br><dt>automake version 1.9.6<dd> 171 <br><dt>automake version 1.11.1<dd>
159 Necessary when modifying a <samp><span class="file">Makefile.am</span></samp> fi le to regenerate its 172 Necessary when modifying a <samp><span class="file">Makefile.am</span></samp> fi le to regenerate its
160 associated <samp><span class="file">Makefile.in</span></samp>. 173 associated <samp><span class="file">Makefile.in</span></samp>.
161 174
162 <p>Much of GCC does not use automake, so directly edit the <samp><span clas s="file">Makefile.in</span></samp> 175 <p>Much of GCC does not use automake, so directly edit the <samp><span clas s="file">Makefile.in</span></samp>
163 file. Specifically this applies to the <samp><span class="file">gcc</span></sam p>, <samp><span class="file">intl</span></samp>, 176 file. Specifically this applies to the <samp><span class="file">gcc</span></sam p>, <samp><span class="file">intl</span></samp>,
164 <samp><span class="file">libcpp</span></samp>, <samp><span class="file">libibert y</span></samp>, <samp><span class="file">libobjc</span></samp> directories as w ell 177 <samp><span class="file">libcpp</span></samp>, <samp><span class="file">libibert y</span></samp>, <samp><span class="file">libobjc</span></samp> directories as w ell
165 as any of their subdirectories. 178 as any of their subdirectories.
166 179
167 <p>For directories that use automake, GCC requires the latest release in 180 <p>For directories that use automake, GCC requires the latest release in
168 the 1.9.x series, which is currently 1.9.6. When regenerating a directory 181 the 1.11 series, which is currently 1.11.1. When regenerating a directory
169 to a newer version, please update all the directories using an older 1.9.x 182 to a newer version, please update all the directories using an older 1.11
170 to the latest released version. 183 to the latest released version.
171 184
172 <br><dt>gettext version 0.14.5 (or later)<dd> 185 <br><dt>gettext version 0.14.5 (or later)<dd>
173 Needed to regenerate <samp><span class="file">gcc.pot</span></samp>. 186 Needed to regenerate <samp><span class="file">gcc.pot</span></samp>.
174 187
175 <br><dt>gperf version 2.7.2 (or later)<dd> 188 <br><dt>gperf version 2.7.2 (or later)<dd>
176 Necessary when modifying <samp><span class="command">gperf</span></samp> input f iles, e.g. 189 Necessary when modifying <samp><span class="command">gperf</span></samp> input f iles, e.g.
177 <samp><span class="file">gcc/cp/cfns.gperf</span></samp> to regenerate its assoc iated header file, e.g. 190 <samp><span class="file">gcc/cp/cfns.gperf</span></samp> to regenerate its assoc iated header file, e.g.
178 <samp><span class="file">gcc/cp/cfns.h</span></samp>. 191 <samp><span class="file">gcc/cp/cfns.h</span></samp>.
179 192
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 If you wish to modify <samp><span class="file">.java</span></samp> files in libj ava, you will need to 250 If you wish to modify <samp><span class="file">.java</span></samp> files in libj ava, you will need to
238 configure with <samp><span class="option">--enable-java-maintainer-mode</span></ samp>, and you will need 251 configure with <samp><span class="option">--enable-java-maintainer-mode</span></ samp>, and you will need
239 to have executables named <samp><span class="command">ecj1</span></samp> and <sa mp><span class="command">gjavah</span></samp> in your path. 252 to have executables named <samp><span class="command">ecj1</span></samp> and <sa mp><span class="command">gjavah</span></samp> in your path.
240 The <samp><span class="command">ecj1</span></samp> executable should run the Ecl ipse Java compiler via 253 The <samp><span class="command">ecj1</span></samp> executable should run the Ecl ipse Java compiler via
241 the GCC-specific entry point. You can download a suitable jar from 254 the GCC-specific entry point. You can download a suitable jar from
242 <a href="ftp://sourceware.org/pub/java/">ftp://sourceware.org/pub/java/</a>, or by running the script 255 <a href="ftp://sourceware.org/pub/java/">ftp://sourceware.org/pub/java/</a>, or by running the script
243 <samp><span class="command">contrib/download_ecj</span></samp>. 256 <samp><span class="command">contrib/download_ecj</span></samp>.
244 257
245 <br><dt>antlr.jar version 2.7.1 (or later)<dt>antlr binary<dd> 258 <br><dt>antlr.jar version 2.7.1 (or later)<dt>antlr binary<dd>
246 If you wish to build the <samp><span class="command">gjdoc</span></samp> binary in libjava, you will 259 If you wish to build the <samp><span class="command">gjdoc</span></samp> binary in libjava, you will
247 need to have a <samp><span class="file">antlr.jar</span></samp> library availabl e. The library is 260 need to have an <samp><span class="file">antlr.jar</span></samp> library availab le. The library is
248 searched in system locations but can be configured with 261 searched in system locations but can be configured with
249 <samp><span class="option">--with-antlr-jar=</span></samp> instead. When config uring with 262 <samp><span class="option">--with-antlr-jar=</span></samp> instead. When config uring with
250 <samp><span class="option">--enable-java-maintainer-mode</span></samp>, you will need to have one of 263 <samp><span class="option">--enable-java-maintainer-mode</span></samp>, you will need to have one of
251 the executables named <samp><span class="command">cantlr</span></samp>, <samp><s pan class="command">runantlr</span></samp> or 264 the executables named <samp><span class="command">cantlr</span></samp>, <samp><s pan class="command">runantlr</span></samp> or
252 <samp><span class="command">antlr</span></samp> in your path. 265 <samp><span class="command">antlr</span></samp> in your path.
253 266
254 </dl> 267 </dl>
255 268
256 <p><hr /> 269 <p><hr />
257 <p><a href="./index.html">Return to the GCC Installation page</a> 270 <p><a href="./index.html">Return to the GCC Installation page</a>
258 271
259 <!-- ***Downloading the source************************************************** --> 272 <!-- ***Downloading the source************************************************** -->
260 <!-- ***Configuration*********************************************************** --> 273 <!-- ***Configuration*********************************************************** -->
261 <!-- ***Building**************************************************************** --> 274 <!-- ***Building**************************************************************** -->
262 <!-- ***Testing***************************************************************** --> 275 <!-- ***Testing***************************************************************** -->
263 <!-- ***Final install*********************************************************** --> 276 <!-- ***Final install*********************************************************** -->
264 <!-- ***Binaries**************************************************************** --> 277 <!-- ***Binaries**************************************************************** -->
265 <!-- ***Specific**************************************************************** --> 278 <!-- ***Specific**************************************************************** -->
266 <!-- ***Old documentation****************************************************** --> 279 <!-- ***Old documentation****************************************************** -->
267 <!-- ***GFDL******************************************************************** --> 280 <!-- ***GFDL******************************************************************** -->
268 <!-- *************************************************************************** --> 281 <!-- *************************************************************************** -->
269 <!-- Part 6 The End of the Document --> 282 <!-- Part 6 The End of the Document -->
270 </body></html> 283 </body></html>
271 284
OLDNEW
« no previous file with comments | « gcc/INSTALL/old.html ('k') | gcc/INSTALL/specific.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698