diff options
| author | Jim Blandy | 1993-05-01 21:53:52 +0000 |
|---|---|---|
| committer | Jim Blandy | 1993-05-01 21:53:52 +0000 |
| commit | c1be1b30791c56587cedd024006f6d20496e5eb8 (patch) | |
| tree | 61bedc3efc36ef5ca0a7a1de69e3b3245b661f42 | |
| parent | c43e436c21ad6cf859c10c9f20c7c9bcdfac9864 (diff) | |
| download | emacs-c1be1b30791c56587cedd024006f6d20496e5eb8.tar.gz emacs-c1be1b30791c56587cedd024006f6d20496e5eb8.zip | |
Initial revision
| -rw-r--r-- | src/mach2.h | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/src/mach2.h b/src/mach2.h new file mode 100644 index 00000000000..f9b1d7c42b3 --- /dev/null +++ b/src/mach2.h | |||
| @@ -0,0 +1,48 @@ | |||
| 1 | /* Definitions for Emacs running on Mach version 2 (non-kernelized system). | ||
| 2 | Copyright (C) 1990 Free Software Foundation, Inc. | ||
| 3 | |||
| 4 | This file is part of GNU Emacs. | ||
| 5 | |||
| 6 | GNU Emacs is free software; you can redistribute it and/or modify | ||
| 7 | it under the terms of the GNU General Public License as published by | ||
| 8 | the Free Software Foundation; either version 1, or (at your option) | ||
| 9 | any later version. | ||
| 10 | |||
| 11 | GNU Emacs is distributed in the hope that it will be useful, | ||
| 12 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 14 | GNU General Public License for more details. | ||
| 15 | |||
| 16 | You should have received a copy of the GNU General Public License | ||
| 17 | along with GNU Emacs; see the file COPYING. If not, write to | ||
| 18 | the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ | ||
| 19 | |||
| 20 | #include "bsd4-3.h" | ||
| 21 | |||
| 22 | /* SYSTEM_TYPE should indicate the kind of system you are using. | ||
| 23 | It sets the Lisp variable system-type. We'll need to undo the bsd one. */ | ||
| 24 | |||
| 25 | #undef SYSTEM_TYPE | ||
| 26 | #define SYSTEM_TYPE "next-mach" | ||
| 27 | |||
| 28 | #define LD_SWITCH_SYSTEM -X -noseglinkedit | ||
| 29 | |||
| 30 | /* Don't use -lc on the NeXT. */ | ||
| 31 | #define LIB_STANDARD -lsys_s | ||
| 32 | #define LIB_MATH -lm | ||
| 33 | |||
| 34 | #define environ _environ | ||
| 35 | |||
| 36 | #define START_FILES pre-crt0.o | ||
| 37 | #define UNEXEC unexnext.o | ||
| 38 | |||
| 39 | /* start_of_text isn't actually used, so make it compile without error. */ | ||
| 40 | #define TEXT_START 0 | ||
| 41 | /* This seems to be right for end_of_text, but it may not be used anyway. */ | ||
| 42 | #define TEXT_END get_etext () | ||
| 43 | /* This seems to be right for end_of_data, but it may not be used anyway. */ | ||
| 44 | #define DATA_END get_edata () | ||
| 45 | |||
| 46 | /* Defining KERNEL_FILE causes lossage because sys/file.h | ||
| 47 | stupidly gets confused by it. */ | ||
| 48 | #undef KERNEL_FILE | ||