Mercurial > emacs
comparison src/m/convex.h @ 8029:4f81ed3b48ba
(LIBS_MACHINE, GETPGRP_NO_ARG): Defined.
(NLIST_NAME_UNION, DECLARE_GETPWUID_WITH_UID_T): Defined.
(CRT0_DUMMIES): Conditionalize according to __GNUC__.
(convex): Define if necessary.
(C_SWITCH_MACHINE): Definition deleted.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Thu, 23 Jun 1994 19:40:13 +0000 |
parents | cd81dba38a49 |
children | 6746cdbec82b |
comparison
equal
deleted
inserted
replaced
8028:ba1bbdb8595e | 8029:4f81ed3b48ba |
---|---|
1 /* machine description file for convex C1. | 1 /* machine description file for Convex (all models). |
2 Copyright (C) 1987, 1994 Free Software Foundation, Inc. | 2 Copyright (C) 1987, 1994 Free Software Foundation, Inc. |
3 | 3 |
4 This file is part of GNU Emacs. | 4 This file is part of GNU Emacs. |
5 | 5 |
6 GNU Emacs is free software; you can redistribute it and/or modify | 6 GNU Emacs is free software; you can redistribute it and/or modify |
44 | 44 |
45 /* Define WORD_MACHINE if addresses and such have | 45 /* Define WORD_MACHINE if addresses and such have |
46 * to be corrected before they can be used as byte counts. */ | 46 * to be corrected before they can be used as byte counts. */ |
47 | 47 |
48 /* #define WORD_MACHINE */ | 48 /* #define WORD_MACHINE */ |
49 | 49 |
50 /* Now define a symbol for the cpu type, if your compiler | 50 /* Now define a symbol for the cpu type, if your compiler |
51 does not define it automatically. */ | 51 does not define it automatically. */ |
52 | 52 #ifndef convex /* The compiler doesn't always do this. */ |
53 /* convex already defined... */ | 53 #define convex |
54 #endif | |
54 | 55 |
55 /* Use type int rather than a union, to represent Lisp_Object */ | 56 /* Use type int rather than a union, to represent Lisp_Object */ |
56 /* This is desirable for most machines. */ | 57 /* This is desirable for most machines. */ |
57 | 58 |
58 #define NO_UNION_TYPE | 59 #define NO_UNION_TYPE |
59 | 60 |
60 /* crt0.c should use the vax-bsd style of entry. | 61 #ifndef __GNUC__ /* David M. Cooke <dcooke@haven.larc.nasa.gov> |
61 Ralph Sobek <Ralph.Sobek@cerfacs.fr> says must ignore one arg. */ | 62 and Ralph Sobek <Ralph.Sobek@cerfacs.fr> agree |
62 | 63 must ignore one arg when compiled with convex compiler. */ |
63 #define CRT0_DUMMIES ignore, | 64 #define CRT0_DUMMIES ignore, |
65 #else | |
66 #define CRT0_DUMMIES | |
67 #endif | |
64 | 68 |
65 /* crt0.c should define a symbol `start' and do .globl with a dot. */ | 69 /* crt0.c should define a symbol `start' and do .globl with a dot. */ |
66 | 70 |
67 #define DOT_GLOBAL_START | 71 #define DOT_GLOBAL_START |
68 | 72 |
129 #define COFF | 133 #define COFF |
130 #define TEXT_START 0x80001000 | 134 #define TEXT_START 0x80001000 |
131 | 135 |
132 /* Posix stuff for Convex OS 8.1 and up. */ | 136 /* Posix stuff for Convex OS 8.1 and up. */ |
133 | 137 |
134 #define C_SWITCH_MACHINE -pcc | |
135 #define LD_SWITCH_MACHINE \ | 138 #define LD_SWITCH_MACHINE \ |
136 -e__start -L /usr/lib \ | 139 -e__start -L /usr/lib \ |
137 '-A__iob=___ap$$iob' '-A_use_libc_sema=___ap$$use_libc_sema' | 140 '-A__iob=___ap$$iob' '-A_use_libc_sema=___ap$$use_libc_sema' |
138 | 141 |
139 /* Use <dirent.h>. */ | 142 /* Use <dirent.h>. */ |
165 #define LIB_STANDARD -lc_old | 168 #define LIB_STANDARD -lc_old |
166 #define LIBS_MACHINE -lC2_old | 169 #define LIBS_MACHINE -lC2_old |
167 #define LD_SWITCH_MACHINE -X -NL -fn -Enoposix -A__iob=___ap\$$iob \ | 170 #define LD_SWITCH_MACHINE -X -NL -fn -Enoposix -A__iob=___ap\$$iob \ |
168 -A_use_libc_sema=___ap\$$use_libc_sema -L /usr/lib | 171 -A_use_libc_sema=___ap\$$use_libc_sema -L /usr/lib |
169 #endif | 172 #endif |
173 | |
174 /* Avoid error in xrdb.c - d.m.cooke@larc.nasa.gov. */ | |
175 #define DECLARE_GETPWUID_WITH_UID_T | |
176 | |
177 /* Call getpgrp properly. */ | |
178 #define GETPGRP_NO_ARG | |
179 | |
180 /* Tested for both Convex C and GNUC by d.m.cooke@larc.nasa.gov. */ | |
181 #define LIBS_MACHINE -lC2 | |
182 | |
183 /* Avoid error in getloadavg.c. */ | |
184 #define NLIST_NAME_UNION 1 |