unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* sol2-8.h (for sparc-sun-solaris2.8) is attached.
@ 2002-11-12 17:48 Lee Newberg
  0 siblings, 0 replies; only message in thread
From: Lee Newberg @ 2002-11-12 17:48 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 648 bytes --]

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 <lee.newberg@wadsworth.org>
(518) 473-8426


[-- Attachment #2: sol2-8.h --]
[-- Type: text/plain, Size: 284 bytes --]

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-11-12 17:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-12 17:48 sol2-8.h (for sparc-sun-solaris2.8) is attached Lee Newberg

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).