From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Luke Hassell Newsgroups: gmane.emacs.help Subject: Help: Large File Support (> 1GB) / Solaris 8 Date: Fri, 16 Aug 2002 12:10:58 -0700 (PDT) Sender: help-gnu-emacs-admin@gnu.org Message-ID: <20020816191058.64273.qmail@web13304.mail.yahoo.com> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1029525081 20350 127.0.0.1 (16 Aug 2002 19:11:21 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 16 Aug 2002 19:11:21 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17fmVC-0005Hz-00 for ; Fri, 16 Aug 2002 21:11:18 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17fmW0-0006Mi-00; Fri, 16 Aug 2002 15:12:08 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17fmUz-0005Th-00 for help-gnu-emacs@gnu.org; Fri, 16 Aug 2002 15:11:05 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17fmUu-0005Sr-00 for help-gnu-emacs@gnu.org; Fri, 16 Aug 2002 15:11:04 -0400 Original-Received: from web13304.mail.yahoo.com ([216.136.175.40]) by monty-python.gnu.org with smtp (Exim 4.10) id 17fmUu-0005SX-00 for help-gnu-emacs@gnu.org; Fri, 16 Aug 2002 15:11:00 -0400 Original-Received: from [4.2.192.5] by web13304.mail.yahoo.com via HTTP; Fri, 16 Aug 2002 12:10:58 PDT Original-To: help-gnu-emacs@gnu.org Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:830 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:830 Hello Emacs Users - I have a need to read in large files and need some advice. First, from the FAQ: Old versions (i.e., anything before 19.29) of Emacs had problems editing files larger than 8 megabytes. As of version 19.29, the maximum buffer size is at least 2^27-1, or 134,217,727 bytes, or 132 MBytes. Emacs 20 can be compiled on some 64-bit systems in a way that enlarges the buffer size up to 576,460,752,303,423,487 bytes, or 549,755,813 GBytes. It's the phrase "in a way" that has got me puzzled. My compile platform is a Solaris 8 sparc box, with the Sun WSPro compilers. I have followed the guidance in etc/MACHINES: To build a 64-bit Emacs (with larger maximum buffer size and including large file support) on a Solaris system which supports 64-bit executables, use the Sun compiler, configuring something like this (see the cc documentation for information on 64-bit compilation): env CC="cc -xarch=v9" ./configure Yet I still cannot break a barrier of 256MB, even though I have a very cleanly compiled version of emacs 21.2, that are 64bit executables: $ file emacs* emacs: ELF 64-bit MSB executable SPARCV9 Version 1 emacs-21.2: ELF 64-bit MSB executable SPARCV9 Version 1 emacsclient: ELF 64-bit MSB executable SPARCV9 Version 1 549,755,813 GBytes? I'd be happy with 1 GB at this point. Any help is appreciated. Thanks in advance, Luke ===== Luke Hassell Public Key available at: http://www.keyserver.net:11371/pks/lookup?op=get&search=0x8C85ABD7 __________________________________________________ Do You Yahoo!? HotJobs - Search Thousands of New Jobs http://www.hotjobs.com