From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Dave Love Newsgroups: gmane.emacs.devel Subject: Re: Anyone built Emacs with gcc-3.3? Date: Tue, 08 Jul 2003 23:41:45 +0100 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1057714017 20839 80.91.224.249 (9 Jul 2003 01:26:57 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 9 Jul 2003 01:26:57 +0000 (UTC) Cc: "Marshall, Simon" , 'Emacs Pretesters' , 'Emacs Developers' Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Wed Jul 09 03:26:54 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19a3jS-0005Pl-00 for ; Wed, 09 Jul 2003 03:26:54 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 19a3u3-0001in-00 for ; Wed, 09 Jul 2003 03:37:51 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19a3Vp-0004K5-WF for emacs-devel@quimby.gnus.org; Tue, 08 Jul 2003 21:12:50 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19a3Qx-0003WM-Ef for emacs-devel@gnu.org; Tue, 08 Jul 2003 21:07:47 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19a3Hf-0001ge-Ef for emacs-devel@gnu.org; Tue, 08 Jul 2003 20:58:42 -0400 Original-Received: from gnuftp.gnu.org ([199.232.41.6]) by monty-python.gnu.org with esmtp (Exim 4.20) id 19a39m-00008l-Ef; Tue, 08 Jul 2003 20:50:02 -0400 Original-Received: from albion.dl.ac.uk ([148.79.80.39]) by gnuftp.gnu.org with esmtp (Exim 4.20) id 19a19j-00017R-HX; Tue, 08 Jul 2003 18:41:51 -0400 Original-Received: from fx by albion.dl.ac.uk with local (Exim 3.36 #1 (Debian)) id 19a19d-00045v-00; Tue, 08 Jul 2003 23:41:45 +0100 Original-To: puneet User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.2 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:15500 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:15500 puneet writes: > I have compiled emacs in gcc 3.3. Actually I configured gcc for > sparcv9 arch. And hence my emacs is 64-bit. That doesn't follow. -mcpu=v9 is orthogonal to -m64. `file' will tell you whether the binary is 64-bit, but as far as I remember, you won't get 64-bit Emacs words with gcc anyhow since gcc doesn't define _LP64. (gcc -m64 wasn't useful when I last touched 64-bit sparc configuration.) Somewhere I have some changes to somewhat sanitize 64-bit configuration, but as far as I know there are still some basic problems with 64-bit systems, especially big-endian ones, and I'm surprised they work at all... If it behaves differently on different Solaris systems with the same OS version then you should probably look at all the installed patches, versions of development tools (I assume you use the Sun ld) and what you pick up from the system libraries -- the version of malloc in particular.