Commit 9b71f02b authored by Jim Blandy's avatar Jim Blandy

entered into RCS

parent 20c428fd
/* config.h should include this file for version 1 of Alliant's
operating system. */
/* The following line tells the configuration script what sort of
operating system this machine is likely to run.
USUAL-OPSYS="bsd4-2" */
#define ALLIANT_1
#include "alliant.h"
/* machine description file for Alliant Concentrix 4.0 or later.
Use alliant.h for versions 2 and 3. */
/* The following line tells the configuration script what sort of
operating system this machine is likely to run.
USUAL-OPSYS="bsd4-2" */
#include "alliant.h"
/* Concentrix uses a different kernel symbol for load average. */
#undef LDAV_SYMBOL /* Undo definition in s-bsd4-2.h */
#define LDAV_SYMBOL "_Loadavg"
/* Data type of load average, as read out of kmem. */
#define LOAD_AVE_TYPE long
/* Convert that into an integer that is 100 for a load average of 1.0 */
#define LOAD_AVE_CVT(x) (x * 100 / LOADAVG_SCALE)
/* include <sys/param.h> for the definition of LOADAVG_SCALE, and also
LOADAVG_SIZE, the number of items in the Loadavg array. */
/* machine description file for Gould NP1 with UTX/32 3.0 (first release for NP1). */
/* The following line tells the configuration script what sort of
operating system this machine is likely to run.
USUAL-OPSYS="bsd4-3" */
/* If your system uses COFF (Common Object File Format) then define the
preprocessor symbol "COFF". */
/* UTX 3.0 uses a cross between COFF and a.out format, but closer to COFF. */
/* at least currently, already defined by cpp, but make sure */
#ifndef COFF
#define COFF
#endif COFF
#include "gould.h"
/* undefine what gould.h defined */
#undef ADJUST_EXEC_HEADER
/* If your system uses COFF (Common Object File Format) then define the
preprocessor symbol "COFF". */
/* UTX 3.0 uses a cross between COFF and a.out format, but closer to COFF. */
#ifndef COFF /* at least currently, already defined by cpp */
#define COFF
#endif COFF
/* make Gould NP1 and PN COFF look like USG COFF */
/* NP1 COFF */
#undef aouthdr /* Since gould.h already defined these */
#undef a_dtbase
#ifdef IN_UNEXEC
#define aouthdr exec
#define ADJUST_TEXT_SCNHDR_SIZE
/* Gould COFF - these are already defined in gould.h */
/*
* #define COFF_WITH_BSD_SYMTAB
* #define HEADER_INCL_IN_TEXT
* #define magic a_magic
* #define tsize a_text
* #define dsize a_data
* #define bsize a_bss
* #define entry a_entry
* #define text_start a_txbase
* #define data_start a_dtbase
*/
/* End Gould COFF */
#endif /* IN_UNEXEC */
/* NP1 supports a slightly different set than PowerNode */
#define BAUD_CONVERT { 0, 50, 75, 110, 134, 150, 300, 450, 600, 1200, \
1800, 2000, 2400, 3600, 4800, 7200, 9600, \
19200, 38400 }
#define LD_SWITCH_SYSTEM -BS -e start
/* Undef C_DEBUG_SWITCH because it may have been set in gould.h */
/* It will compile and load and works with dbx. Runs under an incomplete
port of gdb, but gdb doesn't always find things correctly. */
#undef C_DEBUG_SWITCH
#define C_DEBUG_SWITCH -g
#define LIBS_DEBUG -lg
/* The data segment in this machine always starts at address 0x1000000 = 16M.
An address of data cannot be stored correctly in a Lisp object;
we always lose the high bits. We must tell XPNTR to add them back. */
#define DATA_SEG_BITS 0x1000000
#define DATA_START 0x1000000
/* The text segment always starts at 0.
This way we don't need to have a label _start defined. */
#define TEXT_START 0
/* Data isn't right next to text on an NP1 */
#define NO_REMAP
/* The bcopy bug has reappeared */
#undef BSTRING
#ifndef GOULD_NP1
#define GOULD_NP1
#endif
/* machine description file for Integrated Solutions 386 machine. */
#include "intel386.h"
/* The following line tells the configuration script what sort of
operating system this machine is likely to run.
USUAL-OPSYS="note"
NOTE-START
Intel 386 (-machine=intel386 or -machine=is386.h)
The possibilities for -opsystem are: bsd4-2, usg5-2-2, usg5-3,
isc2-2, 386-ix, esix, or xenix.
18.58 should support a wide variety of operating systems.
Use isc2-2 for Interactive 386/ix version 2.2.
Use 386ix for prior versions.
Use esix for Esix. It isn't clear what to do on an SCO system.
-machine=is386 is used for an Integrated Solutions 386 machine.
It may also be correct for Microport systems.
NOTE-END */
#define LIBX10_MACHINE -lnsl_s
#define LIBX11_MACHINE -lnsl_s
#define LIBS_DEBUG -lg
/* news-risc.h is for the "RISC News". */
#include "mips.h"
#undef LIBS_MACHINE
/* The following line tells the configuration script what sort of
operating system this machine is likely to run.
USUAL-OPSYS="bsd4-3" */
#define LIBS_MACHINE -lmld
#define COFF
#undef LD_SWITCH_MACHINE
#define LD_SWITCH_MACHINE -x -D 800000
/* #define C_OPTIMIZE_SWITCH -O2 */
#define C_OPTIMIZE_SWITCH -O
#define C_DEBUG_SWITCH -g3
#undef TERMINFO
#include "irist.h"
/* sun3-68881.h, for a Sun 3, using the 68881. */
#include "sun3.h"
/* The following line tells the configuration script what sort of
operating system this machine is likely to run.
USUAL-OPSYS="note"
NOTE-START
Sun with 68881 co-processor (-machine=sun3-68881;
-opsystem=bsd4-2 or -opsystem=sunos4)
Versions 1, 2, and 3 of the operating system are derived from
Berkeley 4.2, meaning that you should use -opsystem=bsd4-2.
For SunOS release 4 on a Sun 3 with a 68881, use -machine=sun3-68881
and -opsystem=sunos4. See the file share-lib/SUNBUG for how to
solve problems caused by bugs in the "export" version of SunOS 4.
NOTE-END */
/* In case we are using floating point, work together with crt0.c. */
#ifndef __GNUC__
#define C_SWITCH_MACHINE -f68881
#endif
#define sun_68881
#define START_FILES crt0.o /usr/lib/Mcrt1.o
/* sun3-fpa.h, for a Sun 3, using the Sun fpa. */
#include "sun3.h"
/* The following line tells the configuration script what sort of
operating system this machine is likely to run.
USUAL-OPSYS="note"
NOTE-START
Sun with FPA co-processor (-machine=sun3-fpa;
-opsystem=bsd4-2 or -opsystem=sunos4)
Versions 1, 2, and 3 of the operating system are derived from
Berkeley 4.2, meaning that you should use -opsystem=bsd4-2.
For SunOS release 4 on a Sun 3 with an FPA, use -machine=sun3-fpa
and -opsystem=sunos4. See the file share-lib/SUNBUG for how to
solve problems caused by bugs in the "export" version of SunOS 4.
NOTE-END */
/* In case we are using floating point, work together with crt0.c. */
#ifndef __GNUC__
#define C_SWITCH_MACHINE -ffpa
#endif
#define sun_fpa
#define START_FILES crt0.o /usr/lib/Wcrt1.o
/* sun3-soft.h, for a Sun 3, using the Sun with software floating point. */
#include "sun3.h"
/* The following line tells the configuration script what sort of
operating system this machine is likely to run.
USUAL-OPSYS="note"
NOTE-START
Sun with software floating point (-machine=sun3-soft;
-opsystem=bsd4-2 or -opsystem=sunos4)
Versions 1, 2, and 3 of the operating system are derived from
Berkeley 4.2, meaning that you should use -opsystem=bsd4-2.
If you want to use software floating point on SunOS release 4 on a
Sun 3, use -machine=sun3-68881 and -opsystem=sunos4. See the file
share-lib/SUNBUG for how to solve problems caused by bugs in the
"export" version of SunOS 4.
NOTE-END */
/* In case we are using floating point, work together with crt0.c. */
#ifndef __GNUC__
#define C_SWITCH_MACHINE -fsoft
#endif
#define sun_soft
#define START_FILES crt0.o /usr/lib/Fcrt1.o
/* machine description file for Sun 68000's OPERATING SYSTEM version 3
(for either 68000 or 68020 systems). */
#include "sun2.h"
#undef sun2
#ifndef sun3
#define sun3
#endif
/* The following line tells the configuration script what sort of
operating system this machine is likely to run.
USUAL-OPSYS="note"
NOTE-START
Sun 1, 2 and 3 (-machine=sun1, -machine=sun2, -machine=sun3;
-opsystem=bsd4-2 or -opsystem=sunos4)
Whether you should use sun1, sun2 or sun3 depends on the
VERSION OF THE OPERATING SYSTEM
you have. There are three machine types for different versions of
SunOS. All are derived from Berkeley 4.2, meaning that you should
use -opsystem=bsd4-2. Emacs 17 has run on all of them. You will
need to use sun3 on Sun 2's running SunOS release 3.
For SunOS release 4 on a Sun 3, use -machine=sun3 and
-opsystem=sunos4. See the file share-lib/SUNBUG for how to solve
problems caused by bugs in the "export" version of SunOS 4.
NOTE-END */
/* Say that the text segment of a.out includes the header;
the header actually occupies the first few bytes of the text segment
and is counted in hdr.a_text. */
#define A_TEXT_OFFSET(HDR) sizeof (HDR)
/* This is the offset of the executable's text, from the start of the file. */
#define A_TEXT_SEEK(HDR) (N_TXTOFF (hdr) + sizeof (hdr))
/* In case we are using floating point, work together with crt0.c. */
#ifndef __GNUC__
#define C_SWITCH_MACHINE -fsoft
#endif
/* This line is needed if you are linking with X windows
and the library xlib was compiled to use the 68881.
For maximum cleanliness, don't edit this file;
instead, insert this line in config.h. */
/* #define START_FILES crt0.o /usr/lib/Mcrt1.o */
/* machine description file for Sun's 386-based RoadRunner. This file borrows heavily from
"sun2.h", but since that file is heavily cpu-specific, it was easier
not to include it.
Copyright (C) 1988 Free Software Foundation, Inc.
This file is part of GNU Emacs.
GNU Emacs is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 1, or (at your option)
any later version.
GNU Emacs is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with GNU Emacs; see the file COPYING. If not, write to
the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
/* The following line tells the configuration script what sort of
operating system this machine is likely to run.
USUAL-OPSYS="note"
NOTE-START
Use s-sunos4-0.h for operating system version 4.0, and s-sunos4-1.h
for later versions. See the file share-lib/SUNBUG for how to solve
problems caused by bugs in the "export" version of SunOS 4.
NOTE-END */
/* Say this machine is a bird */
#ifndef roadrunner
#define roadrunner
#endif
/* Actual cpu-specific defs */
#include "intel386.h"
/* Data type of load average, as read out of kmem. */
#define LOAD_AVE_TYPE long
/* Convert that into an integer that is 100 for a load average of 1.0 */
#define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE)
/* Underscores are not prepended to C symbols on this machine. */
#undef LDAV_SYMBOL
#define LDAV_SYMBOL "avenrun"
/* Must use the system's termcap. It does special things. */
#define LIBS_TERMCAP -ltermcap
/* Arrange to link with sun windows, if requested. */
/* For details on emacstool and sunfns, see etc/SUN-SUPPORT */
/* These programs require Sun UNIX 4.2 Release 3.2 or greater */
#ifdef HAVE_SUN_WINDOWS
#define OTHER_FILES ${etcdir}emacstool
#define LIBS_MACHINE -lsuntool -lsunwindow -lpixrect
#define OBJECTS_MACHINE sunfns.o
#define SYMS_MACHINE syms_of_sunfns ()
#define PURESIZE 132000
#endif
/* Roadrunner uses 'COFF' format */
#define COFF
#define C_SWITCH_MACHINE -Bstatic /* avoid dynamic linking */
#define LD_SWITCH_MACHINE -n -Bstatic
/* Get rid of the -e __start that s-sunos4.h does. */
#undef LD_SWITCH_SYSTEM
/* machine description file for SEQUENT SYMMETRY machines
Copyright (C) 1985, 1986 Free Software Foundation, Inc.
This file is part of GNU Emacs.
GNU Emacs is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 1, or (at your option)
any later version.
GNU Emacs is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with GNU Emacs; see the file COPYING. If not, write to
the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
/* CHANGE: [Eric H. Herrin II; eric@ms.uky.edu - 15 Sept 1988]
* Modified the sequent.h file for the Sequent Symmetry machine.
* Biggest change was to align the sections in the a.out to 4K
* boundaries (this is the page size).
*/
/* NOTICE: this file works for DYNIX release 3.0.12 on Sequent Symmetry
* (Intel 80386) machines. Hasn't been tested on anything else.
*/
/* The following line tells the configuration script what sort of
operating system this machine is likely to run.
USUAL-OPSYS="bsd4-3" */
#include "intel386.h"
/* Data type of load average, as read out of kmem. */
#define LOAD_AVE_TYPE unsigned long
/* Convert that into an integer that is 100 for a load average of 1.0 */
#define FSCALE 1000.0
#define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE)
/* Define C_ALLOCA if this machine does not support a true alloca
and the one written in C should be used instead.
Define HAVE_ALLOCA to say that the system provides a properly
working alloca function and it should be used.
Define neither one if an assembler-language alloca
in the file alloca.s should be used. */
/* #define C_ALLOCA */
/*#define HAVE_ALLOCA*/
/* Name of file the to look in
for the kernel symbol table (for load average) */
#undef KERNEL_FILE
#define KERNEL_FILE "/dynix"
/* define HAVE_GETPAGESIZE for Symmetry */
#define HAVE_GETPAGESIZE
/* Avoids a compiler bug */
#define TAHOE_REGISTER_BUG
/* Say that the text segment of a.out includes the header;
the header actually occupies the first few bytes of the text segment
and is counted in hdr.a_text. Furthermore, the value written
in the a_text in the file must have N_ADDRADJ added to it. */
#define A_TEXT_OFFSET(HDR) (sizeof (HDR) + N_ADDRADJ (HDR))
/* This is the offset of the executable's text, from the start of the file. */
#define A_TEXT_SEEK(HDR) (N_TXTOFF (hdr) + sizeof (hdr))
/* The file sections in the Symmetry a.out must be on 4K boundaries.
*/
#define SEGSIZ 4096
#define SECTION_ALIGNMENT (SEGSIZ-1)
/* (short) negative-int doesn't sign-extend correctly */
#define SHORT_CAST_BUG
/* Cause compilations to be done in parallel in ymakefile. */
#define MAKE_PARALLEL &
/* Define how to search all pty names.
This is for Dynix 3.0; delete next 5 definitions for older systems. */
#define PTY_MAJOR "pqrstuvwPQRSTUVW"
#define PTY_MINOR "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"
#define PTY_ITERATION \
register int ma, mi; \
for (ma = 0; ma < sizeof(PTY_MAJOR) - 1; ma++) \
for (mi = 0; mi < sizeof(PTY_MINOR) - 1; mi++)
#define PTY_NAME_SPRINTF \
sprintf (ptyname, "/dev/pty%c%c", PTY_MAJOR[ma], PTY_MINOR[mi]);
#define PTY_TTY_NAME_SPRINTF \
sprintf (ptyname, "/dev/tty%c%c", PTY_MAJOR[ma], PTY_MINOR[mi]);
/* machine description file for the Tandem Integrity S2. */
#include "mips.h"
/* The following line tells the configuration script what sort of
operating system this machine is likely to run.
USUAL-OPSYS="usg5-3" */
/* This overrides some of the usual support for the mips and system V.3. */
/* The S2 does not know about utimes() */
#define USE_UTIME
/* The operating system apparently defines TIOCGETC
but it doesn't work. */
#undef BROKEN_TIOCGETC
/* rs@ai.mit.edu said this was necessary for it to work. However, some
user of this machine ought to try to get subprocesses to work. */
#undef subprocesses
/* Correct some library file names. */
#define START_FILES pre-crt0.o /usr/lib/crt1.o1.31
#define LIB_STANDARD -lbsd -lc /usr/lib/crtn.o1.31
/* Interactive 386/ix. */
#include "usg5-3.h"
#define HAVE_SELECT
#define BROKEN_TIOCGETC
/* There are some reports that the following is needed
with some version of this system.
#undef LIBX11_SYSTEM
#define LIBX11_SYSTEM -linet
#define HAVE_TIMEVAL
#define USE_UTIME
*/
/* This is said to be needed as a result of having _insque rather
than insque in -loldX. This may not always be the right thing. */
#define WRONG_NAME_INSQUE
/* Definitions file for GNU Emacs running on bsd 4.1.
Copyright (C) 1985, 1986 Free Software Foundation, Inc.
This file is part of GNU Emacs.
GNU Emacs is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 1, or (at your option)
any later version.
GNU Emacs is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with GNU Emacs; see the file COPYING. If not, write to
the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
/*
* Define symbols to identify the version of Unix this is.
* Define all the symbols that apply correctly.
*/
#define BSD4_1
#define BSD
/* SYSTEM_TYPE should indicate the kind of system you are using.
It sets the Lisp variable system-type. */
#define SYSTEM_TYPE "berkeley-unix"
/* nomultiplejobs should be defined if your system's shell
does not have "job control" (the ability to stop a program,
run some other program, then continue the first one). */
/* #define NOMULTIPLEJOBS */
/* Default is to set interrupt_input to 1: do input buffering within Emacs */
#define INTERRUPT_INPUT
/* First pty name is /dev/ptyp0. */
#define FIRST_PTY_LETTER 'p'
/*
* Define HAVE_TIMEVAL if the system supports the BSD style clock values.
* Look in <sys/time.h> for a timeval structure.
*/
#undef HAVE_TIMEVAL
/*
* Define HAVE_SELECT if the system supports the `select' system call.
*/
/* #define HAVE_SELECT */
/*
* Define HAVE_PTYS if the system supports pty devices.
*/
/* #define HAVE_PTYS */
/* Define this macro if system defines a type `union wait'. */
#define HAVE_UNION_WAIT
/* Define HAVE_SOCKETS if system supports 4.2-compatible sockets. */
/* #define HAVE_SOCKETS */
/*
* Define NONSYSTEM_DIR_LIBRARY to make Emacs emulate
* The 4.2 opendir, etc., library functions.
*/
#define NONSYSTEM_DIR_LIBRARY
/* Define this symbol if your system has the functions bcopy, etc. */
/* #define BSTRING */
/* subprocesses should be defined if you want to
have code for asynchronous subprocesses
(as used in M-x compile and M-x shell).
This is generally OS dependent, and not supported
under most USG systems. */
#define subprocesses
/* If your system uses COFF (Common Object File Format) then define the
preprocessor symbol "COFF". */
/* #define COFF */
/* define MAIL_USE_FLOCK if the mailer uses flock
to interlock access to /usr/spool/mail/$USER.
The alternative is that a lock file named
/usr/spool/mail/$USER.lock. */