1 /* Definitions for Emacs running on Mach version 2 (non-kernelized system).
2 Copyright (C) 1990 Free Software Foundation, Inc.
4 This file is part of GNU Emacs.
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)
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.
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. */
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. */
26 #define SYSTEM_TYPE "next-mach"
28 #define LD_SWITCH_SYSTEM -X -noseglinkedit
30 /* Don't use -lc on the NeXT. */
31 #define LIB_STANDARD -lsys_s
34 #define environ _environ
36 #define START_FILES pre-crt0.o
37 #define UNEXEC unexnext.o
39 /* start_of_text isn't actually used, so make it compile without error. */
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 ()
46 /* Defining KERNEL_FILE causes lossage because sys/file.h
47 stupidly gets confused by it. */