Commit | Line | Data |
---|---|---|
c1be1b30 JB |
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 | |
17385adc | 8 | the Free Software Foundation; either version 2, or (at your option) |
c1be1b30 JB |
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 |