Annotation of GNUtools/emacs/src/m-tandem-s2.h, revision 1.1

1.1     ! root        1: /* m- file for the Tandem Integrity S2.  */
        !             2: 
        !             3: #include "m-mips.h"
        !             4: 
        !             5: /* This overrides some of the usual support for the mips and system V.3.  */
        !             6: 
        !             7: /* Comment this out if using NonStop-UX OS rev. below A10. */
        !             8: #define A10
        !             9: 
        !            10: /* If not using X11R4, then comment out. /usr/lib/libX11.a has */
        !            11:  /* globally define bcopy, bcmp, bzero, random & srandom that conflicts */
        !            12:  /* with GNU's. You won't need this for X11R3 .*/
        !            13: #define USE_X11R4
        !            14: 
        !            15: /* START_FILES and LIB_STANDARD are located in different places for
        !            16:    'C' version 2.10 */
        !            17: #ifdef A10
        !            18: #ifdef START_FILES
        !            19: #undef START_FILES
        !            20: #define START_FILES pre-crt0.o /lib/crt1.o
        !            21: #endif
        !            22: 
        !            23: #ifdef LIB_STANDARD
        !            24: #undef LIB_STANDARD
        !            25: #define LIB_STANDARD -lc /lib/crtn.o
        !            26: #endif
        !            27: #else        /* Revision below A10 */
        !            28: #ifdef START_FILES
        !            29: #undef START_FILES
        !            30: #define START_FILES pre-crt0.o /usr/lib/crt1.o
        !            31: #endif
        !            32: 
        !            33: #ifdef LIB_STANDARD
        !            34: #undef LIB_STANDARD
        !            35: #define LIB_STANDARD -lc /usr/lib/crtn.o
        !            36: #endif
        !            37: #endif     /* End #ifdef A10 vs not */
        !            38: 
        !            39: /* Use X11R4's bcopy, bmem,bzero, random & srandom rather than GNU's */
        !            40:  /* which causes multiply-defined problems when -lX11 is loaded. */
        !            41: #ifdef USE_X11R4
        !            42: #define HAVE_RANDOM /* Use X's random */
        !            43: #define BSTRING     /* Use X's bcopy, bmem and bzero */
        !            44: #endif
        !            45: 
        !            46: /* The S2 does not know about utimes() */
        !            47: #define USE_UTIME
        !            48: 
        !            49: /* The operating system apparently defines TIOCGETC
        !            50:    but it doesn't work.  */
        !            51: #undef BROKEN_TIOCGETC
        !            52: 
        !            53: /* Change LIBS_TERMCAP (from m-mips.h) to ensure that libbsd.a is loaded
        !            54:    before libcurses.a.  The curses library has its own version of select(2)
        !            55:    which does not work with GNU Emacs; libbsd.a has the right version.
        !            56: 
        !            57:    We also use the malloc(3X) package in place of both malloc(3C) in libc.a
        !            58:    and GNU malloc.  The GNU malloc is not working correctly for large files
        !            59:    (2MB and up), and malloc(3X) handles this better than malloc(3C). */
        !            60: #ifdef LIBS_TERMCAP
        !            61: #undef LIBS_TERMCAP
        !            62: #define LIBS_TERMCAP -lmalloc -lbsd -lcurses
        !            63: #endif
        !            64: 
        !            65: #define SYSTEM_MALLOC
        !            66: 
        !            67: /* Note that src/ymakefile should also be changed to load LIBS_TERMCAP _after_
        !            68:    $(LIBX), since libX11.a has its own version of writev which should override
        !            69:    the version in libbsd.a. */
        !            70: 
        !            71: /* Emacs can use the NonStop-UX select(2) to support subprocesses and X11.
        !            72:    Note that the correct version of select(2) is in libbsd.a; see above. */
        !            73: #define HAVE_SELECT
        !            74: 
        !            75: /* Subprocesses now work because we are using the correct select(2) call.
        !            76:    The reason it didn't work before was because curses with its select call
        !            77:    was being loaded before the correct select(2) which is in libbsd.a. */
        !            78: #ifndef subprocesses
        !            79: #define subprocesses
        !            80: #endif
        !            81: 
        !            82: /* The gettimeofday(2) routine is present in libbsd.a but is not supported
        !            83:    or documented. */
        !            84: #undef HAVE_GETTIMEOFDAY
        !            85: 
        !            86: /* Remove definition of LIBX11_SYSTEM (from s-usg5-3.h).  It references
        !            87:    a library -lnsl_s that is not present and not required on the S2. */
        !            88: #ifdef LIBX11_SYSTEM
        !            89: #undef LIBX11_SYSTEM
        !            90: #endif

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.