From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23187 invoked by alias); 7 Aug 2008 10:39:26 -0000 Received: (qmail 23074 invoked by uid 22791); 7 Aug 2008 10:39:25 -0000 X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 07 Aug 2008 10:38:51 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 85CD92A96DF; Thu, 7 Aug 2008 06:38:49 -0400 (EDT) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id UKWDgDQKTyi5; Thu, 7 Aug 2008 06:38:49 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 4F4352A96DD; Thu, 7 Aug 2008 06:38:49 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id 457BFE7ACD; Thu, 7 Aug 2008 12:38:47 +0200 (CEST) Date: Thu, 07 Aug 2008 10:39:00 -0000 From: Joel Brobecker To: Gareth Williams Cc: gdb@sourceware.org Subject: Re: GDB on Solaris 10 Message-ID: <20080807103847.GB3926@adacore.com> References: <67068ED71049F24386084A94AD75497105E64087@suknpt8102.cogent-dsn.local> <20080805190810.GA4323@adacore.com> <67068ED71049F24386084A94AD75497105E98B63@suknpt8102.cogent-dsn.local> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <67068ED71049F24386084A94AD75497105E98B63@suknpt8102.cogent-dsn.local> User-Agent: Mutt/1.4.2.2i Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2008-08/txt/msg00124.txt.bz2 > > CC="gcc -m64" ./configure --disable-tui > > make > > And I have a 64-bit GDB that kind of works! So thanks again for the > help. > > For future reference I would be interested to know if this is the right > way to compile 64-bit on Solaris, and (unless I have missed it) perhaps > it needs to be documented somewhere? Yes, that's the correct way as far as I know to build GDB on sparc64. At AdaCore, we use a compiler that is 64bit by default, so we don't need to specify CC="gcc -m64", but otherwise we do the same. -- Joel