From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18078 invoked by alias); 16 Dec 2012 21:51:03 -0000 Received: (qmail 18062 invoked by uid 22791); 16 Dec 2012 21:50:57 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RCVD_VIA_APNIC X-Spam-Check-By: sourceware.org Received: from comm.purplecow.org (HELO comm.purplecow.org) (210.87.62.131) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 16 Dec 2012 21:50:50 +0000 MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-disposition: inline Content-type: text/plain; charset=us-ascii Received: from comm.purplecow.org ([127.0.0.1]) by comm.purplecow.org (Sun Java(tm) System Messaging Server 6.3-6.03 (built Mar 14 2008; 32bit)) with ESMTP id <0MF500B278OMRD10@comm.purplecow.org> for gcc-help@gcc.gnu.org; Mon, 17 Dec 2012 08:50:46 +1100 (EST) Received: from comm.purplecow.org ([127.0.0.1] helo=comm.purplecow.org) with IPv4:25 by ASSP.nospam; Mon, 17 Dec 2012 08:50:46 +1100 Received: from [66.103.52.207] by comm.purplecow.org (mshttpd); Sun, 16 Dec 2012 16:50:46 -0500 From: Dennis Clarke To: "Holmes.Sherlock" Cc: gcc-help@gcc.gnu.org Message-id: Date: Sun, 16 Dec 2012 21:51:00 -0000 Subject: Re: Installing gcc 4.7.2 on Solaris 10 - SPARC platform In-reply-to: <1355617904584-897964.post@n5.nabble.com> References: <1354732078823-894949.post@n5.nabble.com> <1355617904584-897964.post@n5.nabble.com> X-IsSubscribed: yes Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2012-12/txt/msg00057.txt.bz2 > Thanks *Dennis* for your assistance. However, I have been able to > compile gcc > 4.7.2 on Solaris 10 (SPARC) without your gcc 4.5.1 pre-compiled binary > package. Here is the precise steps I follwed in case someone else > needs it > later: > > 1. Installed gcc 3.4.6 pre-compile binary from http://sunfreeware.com/ > < which got installed /usr/local/bin/ > 2. Installed MPFR library under /usr/local: *./configure > --prefix=/usr/local, make && make install* > 3. Installed MPC library under /usr/local: *./configure --prefix=/usr/local, > make && make install* > 4. Installed GMP library under /usr/local: *./configure --prefix=/usr/local, > make && make install* > 5. Installed binutils-2.23.1 under /usr/local: *./configure > --prefix=/usr/local, make && make install* > 6. Set the environment variable to force gcc make process to use GNU as: > AS=/usr/local/bin/as > 7. Set the environment variable to force gcc make process to use GNU ld: > AS=/usr/local/bin/ld > 8. Started gcc build: *./configure --prefix=/usr/local, make && make > install* > > The build process ran over 8 hours (I don't know exactly how much time > it > tiik as I left the office after 8 hours and found itself ready the next > morning). I did the same process twice on the same machine and it got > built > successfully both the times. Success is measured via the testsuite so I would really like to know what sort of results you managed. Please. > > P.S. Now I want to package my gcc 4.7.2 installation in phgadd format > so that if anybody else needs it, it can be installed without such pain. > Will you please help me in this regard? I have extensive experience with this however I won't package nor aid in the distribution of a thing which is untested. I have GCC 4.7.2 built over and over on Solaris and no way would I release them to the unsuspecting public without a reasonable public testsuite. Dennis