[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

sol2-8.h (for sparc-sun-solaris2.8) is attached.

From: Lee Newberg
Subject: sol2-8.h (for sparc-sun-solaris2.8) is attached.
Date: Tue, 12 Nov 2002 12:48:40 -0500
User-agent: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.0.1) Gecko/20020920 Netscape/7.0

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* )



       RANLIB="ar -ts"


Perhaps there is a better way to achieve the same ends, but I am ignorant of it.

Peace, Lee.


Lee Newberg <lee.newberg@wadsworth.org>
(518) 473-8426

/* 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
#ifdef bcmp
#undef bcmp
#ifdef bzero
#undef bzero

reply via email to

[Prev in Thread] Current Thread [Next in Thread]