From patchwork Thu Mar 17 13:57:07 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rainer Orth X-Patchwork-Id: 87378 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id AC961B6FA2 for ; Fri, 18 Mar 2011 00:57:26 +1100 (EST) Received: (qmail 22322 invoked by alias); 17 Mar 2011 13:57:23 -0000 Received: (qmail 22313 invoked by uid 22791); 17 Mar 2011 13:57:21 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL, BAYES_00, T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from snape.CeBiTec.Uni-Bielefeld.DE (HELO smtp-relay.CeBiTec.Uni-Bielefeld.DE) (129.70.160.84) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 17 Mar 2011 13:57:14 +0000 Received: from localhost (localhost.CeBiTec.Uni-Bielefeld.DE [127.0.0.1]) by smtp-relay.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTP id C9E3A346; Thu, 17 Mar 2011 14:57:11 +0100 (CET) Received: from smtp-relay.CeBiTec.Uni-Bielefeld.DE ([127.0.0.1]) by localhost (malfoy.CeBiTec.Uni-Bielefeld.DE [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 9MQIp4Utu+jS; Thu, 17 Mar 2011 14:57:08 +0100 (CET) Received: from manam.CeBiTec.Uni-Bielefeld.DE (manam.CeBiTec.Uni-Bielefeld.DE [129.70.161.120]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp-relay.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTPS id 3E799345; Thu, 17 Mar 2011 14:57:08 +0100 (CET) Received: (from ro@localhost) by manam.CeBiTec.Uni-Bielefeld.DE (8.14.4+Sun/8.14.4/Submit) id p2HDv72d013635; Thu, 17 Mar 2011 14:57:07 +0100 (MET) From: Rainer Orth To: gcc-patches@gcc.gnu.org Cc: Jakub Jelinek Subject: [doc] Update install.texi for Solaris 2, IRIX, Tru64 UNIX Date: Thu, 17 Mar 2011 14:57:07 +0100 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (usg-unix-v) MIME-Version: 1.0 X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org I've just reviewed install.texi for my platforms and found it mostly accurate. A few minor changes are desirable for the 4.6 release, but also apply to mainline since the file is identical there: * Update recommendations to binutils 2.21 since this is what I've been testing. * Remove download URL for Sun Studio compilers since AFAIK we're not supposed to link to non-free software. Tested with make doc/gccinstall.info doc/gccinstall.pdf `pwd`/HTML/gcc-4.7.0/gccinstall/index.html (the latter seems a bit contorted to regen just a single html document) and visually inspection. Ok for mainline and 4.6 branch? Rainer 2011-03-16 Rainer Orth gcc: * doc/install.texi (Specific, alpha*-dec-osf5.1): Update for binutils 2.21. (Specific, i?86-*-solaris2.[89]): Likewise. (Specific, i?86-*-solaris2.10): Likewise. (Specific, mips-sgi-irix6): Likewise. (Specific, *-*-solaris2*): Remove Sun Studio download URL. Update for binutils 2.21. diff -r 86718f6d9f54 gcc/doc/install.texi --- a/gcc/doc/install.texi Wed Mar 16 08:40:07 2011 +0000 +++ b/gcc/doc/install.texi Wed Mar 16 19:03:28 2011 +0100 @@ -3102,7 +3102,7 @@ the OS version used, you need a data segment size between 512 MB and 1 GB, so simply use @command{ulimit -Sd unlimited}. -As of GNU binutils 2.20.1, neither GNU @command{as} nor GNU @command{ld} +As of GNU binutils 2.21, neither GNU @command{as} nor GNU @command{ld} are supported on Tru64 UNIX, so you must not configure GCC with @option{--with-gnu-as} or @option{--with-gnu-ld}. @@ -3534,7 +3534,7 @@ While GCC works around them, several features are missing, so it is @c FIXME: which ones? recommended to use the GNU assembler instead. There is no bundled -version, but the current version, from GNU binutils 2.20.1, is known to +version, but the current version, from GNU binutils 2.21, is known to work. Solaris@tie{}2/x86 doesn't support the execution of SSE/SSE2 instructions @@ -3560,7 +3560,7 @@ @file{/usr/sfw/bin/gas}. The versions included in Solaris 10, from GNU binutils 2.15, and Solaris 11, from GNU binutils 2.19, work fine, although the current version, from GNU binutils -2.20.1, is known to work, too. Recent versions of the Sun assembler in +2.21, is known to work, too. Recent versions of the Sun assembler in @file{/usr/ccs/bin/as} work almost as well, though. @c FIXME: as patch requirements? @@ -3568,7 +3568,7 @@ linker instead, which is available in @file{/usr/sfw/bin/gld}, note that due to a packaging bug the version in Solaris 10, from GNU binutils 2.15, cannot be used, while the version in Solaris 11, from GNU binutils -2.19, works, as does the latest version, from GNU binutils 2.20.1. +2.19, works, as does the latest version, from GNU binutils 2.21. To use GNU @command{as}, configure with the options @option{--with-gnu-as --with-as=@//usr/@/sfw/@/bin/@/gas}. It may be necessary @@ -3997,7 +3997,7 @@ have the 64-bit libraries installed. GCC must be configured with GNU @command{as}. The latest version, from GNU -binutils 2.20.1, is known to work. On the other hand, bootstrap fails +binutils 2.21, is known to work. On the other hand, bootstrap fails with GNU @command{ld} at least since GNU binutils 2.17. The @option{--enable-libgcj} @@ -4140,8 +4140,7 @@ Support for Solaris 7 has been removed in GCC 4.6. Sun does not ship a C compiler with Solaris 2, though you can download -the Sun Studio compilers for free from -@uref{http://developers.sun.com/sunstudio/downloads/}. Alternatively, +the Sun Studio compilers for free. Alternatively, you can install a pre-built GCC to bootstrap and install GCC. See the @uref{binaries.html,,binaries page} for details. @@ -4184,7 +4183,7 @@ conjunction with the Sun linker. The GNU @command{as} versions included in Solaris 10, from GNU binutils 2.15, and Solaris 11, from GNU binutils 2.19, are known to work. They can be found in -@file{/usr/sfw/bin/gas}. Current versions of GNU binutils (2.20.1) +@file{/usr/sfw/bin/gas}. Current versions of GNU binutils (2.21) are known to work as well. Note that your mileage may vary if you use a combination of the GNU tools and the Sun tools: while the combination GNU @command{as} + Sun @command{ld} should reasonably work, @@ -4193,7 +4192,7 @@ @c FIXME: still? GNU @command{ld} usually works as well, although the version included in Solaris 10 cannot be used due to several bugs. Again, the current -version (2.20.1) is known to work, but generally lacks platform specific +version (2.21) is known to work, but generally lacks platform specific features, so better stay with Sun @command{ld}. To enable symbol versioning in @samp{libstdc++} with Sun @command{ld},