]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
install.texi (sparc-sun-solaris2*): Update GMP/MPFR build instructions.
authorEric Botcazou <ebotcazou@libertysurf.fr>
Thu, 2 Nov 2006 20:45:42 +0000 (21:45 +0100)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Thu, 2 Nov 2006 20:45:42 +0000 (20:45 +0000)
* doc/install.texi (sparc-sun-solaris2*): Update GMP/MPFR build
instructions.
(sparc64-sun-solaris2*): Likewise.

From-SVN: r118429

gcc/ChangeLog
gcc/doc/install.texi

index 69ff6c1d0fc633ee3a7291dfe6ef4ae644db2d61..aa52c7e21eaa18005c93e4bf95ec090b95aee106 100644 (file)
@@ -1,3 +1,9 @@
+2006-11-02  Eric Botcazou  <ebotcazou@libertysurf.fr>
+
+       * doc/install.texi (sparc-sun-solaris2*): Update GMP/MPFR build
+       instructions.
+       (sparc64-sun-solaris2*): Likewise.
+
 2006-11-02  Uros Bizjak <ubizjak@gmail.com>
 
        PR target/29377
index f0503538e6b30f413f0f6f1fd84de101aafca0a9..cb473b61a60f73052a452baaf62434219e965de5 100644 (file)
@@ -3635,12 +3635,15 @@ ld: warning: relocation error: R_SPARC_UA32: @dots{}
 To work around this problem, compile with @option{-gstabs+} instead of
 plain @option{-g}.
 
-When configuring the GNU Multiple Precision Library (GMP) version 4.1.x
-on a Solaris 7 or later system, the canonical target triplet must be
-specified as the @command{build} parameter on the configure line:
+When configuring the GNU Multiple Precision Library (GMP) or the MPFR
+library on a Solaris 7 or later system, the canonical target triplet
+must be specified as the @command{build} parameter on the configure
+line.  This triplet can be obtained by invoking ./config.guess in
+the toplevel source directory of GCC (and not that of GMP or MPFR).
+For example on a Solaris 7 system:
 
 @smallexample
-./configure --build=sparc-sun-solaris2.7 --prefix=xxx --enable-mpfr
+   % ./configure --build=sparc-sun-solaris2.7 --prefix=xxx
 @end smallexample
 
 @html
@@ -3720,15 +3723,24 @@ releases mishandled unaligned relocations on @code{sparc-*-*} targets.
 @end html
 @heading @anchor{sparc64-x-solaris2}sparc64-*-solaris2*
 
+When configuring the GNU Multiple Precision Library (GMP) or the
+MPFR library, the canonical target triplet must be specified as
+the @command{build} parameter on the configure line.  For example
+on a Solaris 7 system:
+
+@smallexample
+   % ./configure --build=sparc64-sun-solaris2.7 --prefix=xxx
+@end smallexample
+
 The following compiler flags must be specified in the configure
 step in order to bootstrap this target with the Sun compiler:
 
 @smallexample
-   % CC="cc -xildoff -xarch=v9" @var{srcdir}/configure [@var{options}] [@var{target}]
+   % CC="cc -xarch=v9 -xildoff" @var{srcdir}/configure [@var{options}] [@var{target}]
 @end smallexample
 
-@option{-xildoff} turns off the incremental linker, and @option{-xarch=v9}
-specifies the SPARC-V9 architecture to the Sun linker and assembler.
+@option{-xarch=v9} specifies the SPARC-V9 architecture to the Sun toolchain
+and @option{-xildoff} turns off the incremental linker.
 
 @html
 <hr />