From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Lee Newberg Newsgroups: gmane.emacs.bugs Subject: sol2-8.h (for sparc-sun-solaris2.8) is attached. Date: Tue, 12 Nov 2002 12:48:40 -0500 Organization: NYDOH Wadsworth Center Sender: bug-gnu-emacs-admin@gnu.org Message-ID: <3DD13EF8.5030202@wadsworth.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------010408010400000904010208" X-Trace: main.gmane.org 1037124547 16089 80.91.224.249 (12 Nov 2002 18:09:07 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 12 Nov 2002 18:09:07 +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 18BfTE-0004B1-00 for ; Tue, 12 Nov 2002 19:09:04 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 18BfUO-00053X-00; Tue, 12 Nov 2002 13:10:16 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 18BfH3-0000M5-00 for bug-gnu-emacs@gnu.org; Tue, 12 Nov 2002 12:56:29 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 18BfGu-0000Jt-00 for bug-gnu-emacs@gnu.org; Tue, 12 Nov 2002 12:56:26 -0500 Original-Received: from csserv.wadsworth.org ([199.184.18.82]) by monty-python.gnu.org with esmtp (Exim 4.10) id 18BfAv-0007h9-00 for bug-gnu-emacs@gnu.org; Tue, 12 Nov 2002 12:50:10 -0500 Original-Received: from tronador.wadsworth.org (tronador [172.16.1.189]) by csserv.wadsworth.org (8.11.6+Sun/8.11.6) with ESMTP id gACHmej14457; Tue, 12 Nov 2002 12:48:41 -0500 (EST) Original-Received: from wadsworth.org (tronador [172.16.1.189]) by tronador.wadsworth.org (8.11.6+Sun/8.9.3) with ESMTP id gACHmeW14584; Tue, 12 Nov 2002 12:48:40 -0500 (EST) User-Agent: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.0.1) Gecko/20020920 Netscape/7.0 X-Accept-Language: en-us, en Original-To: bug-gnu-emacs@gnu.org X-MailScanner: Found to be clean Errors-To: bug-gnu-emacs-admin@gnu.org X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.bugs:3871 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:3871 This is a multi-part message in MIME format. --------------010408010400000904010208 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit To get emacs-21.2 (or emacs-20.7) to compile on sparc-sun-solaris2.8 using gcc-3.2 I have had to create a src/s/sol2-8.h file, attached. At least on our system, bcopy, bcmp, and bzero exist and the #defines in src/s/usg5-4.h for these break the compile. To use this file, the string "sol2-8" has to be added to configure.in after the sol2-5 case as: *-sunos5.8* | *-solaris2.8* ) opsys=sol2-8 NON_GNU_CPP=/usr/ccs/lib/cpp RANLIB="ar -ts" ;; Perhaps there is a better way to achieve the same ends, but I am ignorant of it. Peace, Lee. -- Lee Newberg (518) 473-8426 --------------010408010400000904010208 Content-Type: text/plain; name="sol2-8.h" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="sol2-8.h" /* Handle Solaris 2.8. */ #include "sol2-5.h" /* Redundant but differing definitions for bcopy, bcmp, and bzero are causing problems. Get rid of the emacs overrides for these. */ #ifdef bcopy #undef bcopy #endif #ifdef bcmp #undef bcmp #endif #ifdef bzero #undef bzero #endif --------------010408010400000904010208--