# HG changeset patch # User Richard M. Stallman # Date 799536494 0 # Node ID 0d5b4a9053c26898a1257ce7f38746b5f1c81024 # Parent 6945dfa3812348fa30ec2fffabcd94ad6068e9a9 (CANNOT_DUMP, VIRT_ADDR_VARIES, LIBS_TERMCAP) (NO_X_DESTROY_DATABASE): Macros deleted. (BSTRING): #undef deleted. (SYSTEM_TYPES): Redefinition deleted. (UNEXEC): New definition. (LD_SWITCH_SYSTEM): Define as empty. (C_SWITCH_MACHINE, LD_SWITCH_MACHINE): New definitions. (OLDXMENU_OPTIONS): New definition. diff -r 6945dfa38123 -r 0d5b4a9053c2 src/m/apollo.h --- a/src/m/apollo.h Wed May 03 20:27:05 1995 +0000 +++ b/src/m/apollo.h Wed May 03 21:28:14 1995 +0000 @@ -1,5 +1,5 @@ /* machine description file for Apollo machine. - Copyright (C) 1985, 1986 Free Software Foundation, Inc. + Copyright (C) 1985, 1986, 1994, Free Software Foundation, Inc. This file is part of GNU Emacs. @@ -20,7 +20,7 @@ /* The following line tells the configuration script what sort of operating system this machine is likely to run. - USUAL-OPSYS="bsd4-2" */ + USUAL-OPSYS="bsd4-3" */ /* The following three symbols give information on the size of various data types. */ @@ -55,15 +55,10 @@ /* Do not define LOAD_AVE_TYPE or LOAD_AVE_CVT since there is no /dev/kmem */ -/* Define CANNOT_DUMP because it is impossible to dump. */ - -#define CANNOT_DUMP +/* Undefine VIRT_ADDR_VARIES because the virtual addresses of + pure and impure space as loaded do not vary. */ -/* Define VIRT_ADDR_VARIES because the virtual addresses of - pure and impure space as loaded can vary, and even their - relative order cannot be relied on. */ - -#define VIRT_ADDR_VARIES +#undef VIRT_ADDR_VARIES /* Define HAVE_ALLOCA because we use the system's version of alloca. */ @@ -73,24 +68,34 @@ #define LIBS_DEBUG -/* Must use the system's termcap. It does special things. */ +/* Can't use the system's termcap. It has compressed data sections that + interfere with dumping. That means we won't automatically get a vt100 + when we start up emacs in a dm pad (a dubious feature at best anyway). */ -#define LIBS_TERMCAP -ltermcap +#undef LIBS_TERMCAP /* Must use the system's malloc and alloca. */ #define SYSTEM_MALLOC -/* No crt0 is needed, but control where environ is allocated. */ +/* Define the file we use for UNEXEC. */ + +#define UNEXEC unexapollo.o -#define START_FILES pre-crt0.o +/* The Apollo linker does not recognize the -X switch, so we remove it here. */ + +#define LD_SWITCH_SYSTEM -/* Apollo's bcopy said to lose on more than 16k bytes in SR9.5. */ +/* Define C_SWITCH_MACHINE to compile for 68020/68030 or PRISM. + Define LD_SWITCH_MACHINE to save space by stripping symbols + and use X11 libraries. */ -#ifndef APOLLO_SR10 -#undef BSTRING +#if _ISP__A88K +#define C_SWITCH_MACHINE -W0,-ncompress -W0,-opt,2 -A cpu,a88k -A sys,any -A run,bsd4.3 +#define LD_SWITCH_MACHINE -A cpu,a88k -A sys,any -A run,bsd4.3 +#else +#define C_SWITCH_MACHINE -W0,-ncompress -W0,-opt,2 -A cpu,3000 -A sys,any -A run,bsd4.3 +#define LD_SWITCH_MACHINE -A cpu,m68k -A sys,any -A run,bsd4.3 #endif -/* The function x_destroy_database doesn't exist in the version of X - on the Apollo. */ -#define NO_X_DESTROY_DATABASE +#define OLDXMENU_OPTIONS ${C_SWITCH_MACHINE}