Silvermont support backport from trunk to 4.8
[platform/upstream/gcc48.git] / INSTALL / prerequisites.html
index 6845aa3..4879f92 100644 (file)
@@ -7,9 +7,7 @@
 <link title="Top" rel="top" href="#Top">
 <link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage">
 <!--
-Copyright (C) 1988, 1989, 1992, 1993, 1994, 1995, 1996, 1997,
-1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009,
-2010 Free Software Foundation, Inc.
+Copyright (C) 1988-2013 Free Software Foundation, Inc.
 
    Permission is granted to copy, distribute and/or modify this document
 under the terms of the GNU Free Documentation License, Version 1.3 or
@@ -50,14 +48,21 @@ described below.
 <h3 class="heading"><a name="TOC0"></a>Tools/packages necessary for building GCC</h3>
 
      <dl>
-<dt>ISO C90 compiler<dd>Necessary to bootstrap GCC, although versions of GCC prior
-to 3.4 also allow bootstrapping with a traditional (K&amp;R) C compiler.
+<dt>ISO C++98 compiler<dd>Necessary to bootstrap GCC, although versions of GCC prior
+to 4.8 also allow bootstrapping with a ISO C89 compiler and versions
+of GCC prior to 3.4 also allow bootstrapping with a traditional
+(K&amp;R) C compiler.
 
      <p>To build all languages in a cross-compiler or other configuration where
 3-stage bootstrap is not performed, you need to start with an existing
-GCC binary (version 2.95 or later) because source code for language
+GCC binary (version 3.4 or later) because source code for language
 frontends other than C might use GCC extensions.
 
+     <p>Note that to bootstrap GCC with versions of GCC earlier than 3.4, you
+may need to use <samp><span class="option">--disable-stage1-checking</span></samp>, though
+bootstrapping the compiler with such earlier compilers is strongly
+discouraged.
+
      <br><dt>GNAT<dd>
 In order to build the Ada compiler (GNAT) you must already have GNAT
 installed because portions of the Ada frontend are written in Ada (with
@@ -104,9 +109,9 @@ systems' <samp><span class="command">tar</span></samp> programs will also work,
 <samp><span class="command">tar</span></samp> if you have problems.
 
      <br><dt>Perl version 5.6.1 (or later)<dd>
-Necessary when targetting Darwin, building &lsquo;<samp><span class="samp">libstdc++</span></samp>&rsquo;,
+Necessary when targeting Darwin, building &lsquo;<samp><span class="samp">libstdc++</span></samp>&rsquo;,
 and not using <samp><span class="option">--disable-symvers</span></samp>. 
-Necessary when targetting Solaris 2 with Sun <samp><span class="command">ld</span></samp> and not using
+Necessary when targeting Solaris 2 with Sun <samp><span class="command">ld</span></samp> and not using
 <samp><span class="option">--disable-symvers</span></samp>.  The bundled <samp><span class="command">perl</span></samp> in Solaris&nbsp;8
 and up works.
 
@@ -157,29 +162,23 @@ installed but it is not in your default library search path, the
 <samp><span class="option">--with-mpc</span></samp> configure option should be used.  See also
 <samp><span class="option">--with-mpc-lib</span></samp> and <samp><span class="option">--with-mpc-include</span></samp>.
 
-     <br><dt>Parma Polyhedra Library (PPL) version 0.11<dd>
+     <br><dt>ISL Library version 0.11.1<dd>
 Necessary to build GCC with the Graphite loop optimizations. 
-It can be downloaded from <a href="http://www.cs.unipr.it/ppl/Download/">http://www.cs.unipr.it/ppl/Download/</a>.
+It can be downloaded from <a href="ftp://gcc.gnu.org/pub/gcc/infrastructure/">ftp://gcc.gnu.org/pub/gcc/infrastructure/</a>
+as <samp><span class="file">isl-0.11.1.tar.bz2</span></samp>.
 
-     <p>The <samp><span class="option">--with-ppl</span></samp> configure option should be used if PPL is not
+     <p>The <samp><span class="option">--with-isl</span></samp> configure option should be used if ISL is not
 installed in your default library search path.
 
-     <br><dt>CLooG-PPL version 0.15 or CLooG 0.16<dd>
-Necessary to build GCC with the Graphite loop optimizations.  There
-are two versions available.  CLooG-PPL 0.15 as well as CLooG 0.16. 
-The former is the default right now.  It can be downloaded from
-<a href="ftp://gcc.gnu.org/pub/gcc/infrastructure/">ftp://gcc.gnu.org/pub/gcc/infrastructure/</a> as
-<samp><span class="file">cloog-ppl-0.15.tar.gz</span></samp>.
-
-     <p>CLooG 0.16 support is still in testing stage, but will be the
-default in future GCC releases.  It is also available at
-<a href="ftp://gcc.gnu.org/pub/gcc/infrastructure/">ftp://gcc.gnu.org/pub/gcc/infrastructure/</a> as
-<samp><span class="file">cloog-0.16.1.tar.gz</span></samp>.  To use it add the additional configure
-option <samp><span class="option">--enable-cloog-backend=isl</span></samp>.  Even if CLooG 0.16
-does not use PPL, PPL is still required for Graphite.
-
-     <p>In both cases <samp><span class="option">--with-cloog</span></samp> configure option should be used
-if CLooG is not installed in your default library search path.
+     <br><dt>CLooG 0.18.0<dd>
+Necessary to build GCC with the Graphite loop optimizations.  It can be
+downloaded from <a href="ftp://gcc.gnu.org/pub/gcc/infrastructure/">ftp://gcc.gnu.org/pub/gcc/infrastructure/</a> as
+<samp><span class="file">cloog-0.18.0.tar.gz</span></samp>.  The <samp><span class="option">--with-cloog</span></samp> configure option should
+be used if CLooG is not installed in your default library search path. 
+CLooG needs to be built against ISL 0.11.1.  Use <samp><span class="option">--with-isl=system</span></samp>
+to direct CLooG to pick up an already installed ISL, otherwise it will use
+ISL 0.11.1 as bundled with CLooG.  CLooG needs to be configured to use GMP
+internally, use <samp><span class="option">--with-bits=gmp</span></samp> to direct it to do that.
 
    </dl>