From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5920 invoked by alias); 1 Jul 2002 18:23:21 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 5909 invoked from network); 1 Jul 2002 18:23:20 -0000 Received: from unknown (HELO anchor-post-35.mail.demon.net) (194.217.242.85) by sources.redhat.com with SMTP; 1 Jul 2002 18:23:20 -0000 Received: from mailgate.softwire.co.uk ([62.49.203.138] helo=polarbear) by anchor-post-35.mail.demon.net with esmtp (Exim 3.36 #2) id 17P5pW-0005wm-0U; Mon, 01 Jul 2002 19:23:18 +0100 From: "Rupert Wood" To: "'Elliott Potter'" Cc: Subject: RE: 64-bit gcc3.1 on Solaris? Date: Mon, 01 Jul 2002 11:23:00 -0000 Message-ID: <616BE6A276E3714788D2AC35C40CD18D5EC4CD@whale.softwire.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 In-Reply-To: <616BE6A276E3714788D2AC35C40CD18D6BFBC9@whale.softwire.co.uk> Importance: Normal X-SW-Source: 2002-07/txt/msg00006.txt.bz2 Elliott Potter wrote: > Has anyone tried to compile gcc 3.1 as 64 bit on Solaris 2.8 or 2.9? > I got it compiled as 32 bit no problem (twice actually) and it does > appear to compile working 64 bit programs, but just for the heck of > it I thought I'd try to compile the compiler with the -m64 option. I don't have 2.9 to play with but the following works for me on 2.8: CC="gcc -m64" ~/cvs/gcc31/configure --enable-threads=posix \ --disable-checking --disable-nls --with-cpu=ultrasparc \ sparcv9-sun-solaris2.8 \ && gmake -j4 bootstrap CC="gcc -m64" using Sun's as and ld and CVS GCC3.1.1 sources from the middle of last week (release 3.1 ought to work too). gmake is GNU make - haven't tried Sun's make. This build didn't include Ada; I've got Sun ld vs Ada symbol problems and GNU ld 64-bit vs patched libdl.so problems but I haven't yet found time to work out what bugs I need to report to whom. For day to day use, though, I'd stick to the default 32-bit version and -m64. Rup.