From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14422 invoked by alias); 15 Nov 2012 01:01:41 -0000 Received: (qmail 14410 invoked by uid 22791); 15 Nov 2012 01:01:40 -0000 X-SWARE-Spam-Status: No, hits=-2.4 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; Thu, 15 Nov 2012 01:01:34 +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 <0MDI00ECM86FS520@comm.purplecow.org> for gcc-help@gcc.gnu.org; Thu, 15 Nov 2012 12:01:27 +1100 (EST) Received: from comm.purplecow.org ([127.0.0.1] helo=comm.purplecow.org) with IPv4:25 by ASSP.nospam; Thu, 15 Nov 2012 12:01:27 +1100 Received: from [66.103.52.207] by comm.purplecow.org (mshttpd); Wed, 14 Nov 2012 20:01:27 -0500 From: Dennis Clarke To: Jonathan Wakely Cc: Ryan Johnson , Ian Lance Taylor , gcc-help@gcc.gnu.org, ebotcazou@adacore.com Message-id: Date: Thu, 15 Nov 2012 01:01:00 -0000 Subject: Re: the struggle for a 64-bit GCC on Solaris 10 - part 2 In-reply-to: References: <50A16762.7050202@cs.utoronto.ca> <50A16CF5.4080609@cs.utoronto.ca> 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-11/txt/msg00111.txt.bz2 > I've just successfully bootstrapped x86_64-pc-solaris2.10 using GCC > 4.4.3 as the bootstrap compiler, with in-tree gmp/mpfr/mpc, without > setting any CFLAGS at all, just the following works on Solaris 10 Sparc : $ CC='gcc -m64' CXX='g++ -m64' ../gcc-4.7.2/configure \ --build=sparc64-sun-solaris2.10 --prefix=/usr/local/gcc4 \ --with-gmp=/usr/local --with-mpfr=/usr/local --with-mpc=/usr/local \ --disable-nls --enable-threads=posix --enable-shared \ --libdir=/usr/local/gcc4/lib --with-local-prefix=/usr/local/gcc4 \ --disable-multilib --enable-languages=c,c++,objc,fortran,ada \ --enable-bootstrap I have to run a testsuite on this to see what I have but at least the bootstrap was clean looking. Oh, also, after install : dclarke@unreal $ find /usr/local/gcc4/ -type f | xargs file | grep ELF | cut -f2 -d\: | sort -u ELF 64-bit MSB dynamic lib SPARCV9 Version 1, dynamically linked, not stripped ELF 64-bit MSB executable SPARCV9 Version 1, dynamically linked, not stripped ELF 64-bit MSB relocatable SPARCV9 Version 1 Not a 32-bit object to be seen. Perfect. Dennis