Mercurial > hg > xemacs-beta
comparison src/m/convex.h @ 163:0132846995bd r20-3b8
Import from CVS: tag r20-3b8
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:43:35 +0200 |
parents | 376386a54a3c |
children | 85ec50267440 |
comparison
equal
deleted
inserted
replaced
162:4de2936b4e77 | 163:0132846995bd |
---|---|
80 /* #define C_ALLOCA */ | 80 /* #define C_ALLOCA */ |
81 #define HAVE_ALLOCA | 81 #define HAVE_ALLOCA |
82 | 82 |
83 /* Must use the system's termcap. It does special things. */ | 83 /* Must use the system's termcap. It does special things. */ |
84 | 84 |
85 #define LIBS_TERMCAP -ltermcap | 85 #define LIBS_TERMCAP "-ltermcap" |
86 | 86 |
87 /* Define NO_REMAP if memory segmentation makes it not work well | 87 /* Define NO_REMAP if memory segmentation makes it not work well |
88 to change the boundary between the text section and data section | 88 to change the boundary between the text section and data section |
89 when Emacs is dumped. If you define this, the preloaded Lisp | 89 when Emacs is dumped. If you define this, the preloaded Lisp |
90 code will not be sharable; but that's better than failing completely. */ | 90 code will not be sharable; but that's better than failing completely. */ |
101 | 101 |
102 #define XREALINT(a) sign_extend_lisp_int (a) | 102 #define XREALINT(a) sign_extend_lisp_int (a) |
103 | 103 |
104 /* Convex uses a special version of unexec. */ | 104 /* Convex uses a special version of unexec. */ |
105 | 105 |
106 #define UNEXEC unexconvex.o | 106 #define UNEXEC "unexconvex.o" |
107 | 107 |
108 /* you gotta define 'COFF' for post 6.1 unexec. */ | 108 /* you gotta define 'COFF' for post 6.1 unexec. */ |
109 | 109 |
110 #define COFF | 110 #define COFF |
111 #define TEXT_START 0x80001000 | 111 #define TEXT_START 0x80001000 |
112 | 112 |
113 /* Posix stuff for Convex OS 8.1 and up. */ | 113 /* Posix stuff for Convex OS 8.1 and up. */ |
114 | 114 |
115 #define LD_SWITCH_MACHINE \ | 115 #define LD_SWITCH_MACHINE "-e__start -L /usr/lib '-A__iob=___ap$$iob' '-A_use_libc_sema=___ap$$use_libc_sema'" |
116 -e__start -L /usr/lib \ | |
117 '-A__iob=___ap$$iob' '-A_use_libc_sema=___ap$$use_libc_sema' | |
118 | 116 |
119 #ifdef _POSIX_SOURCE | 117 #ifdef _POSIX_SOURCE |
120 | 118 |
121 /* These symbols have been undefined to advance the state of the art. */ | 119 /* These symbols have been undefined to advance the state of the art. */ |
122 | 120 |
136 | 134 |
137 #if 0 | 135 #if 0 |
138 /* | 136 /* |
139 * Force a K&R compilation and libraries with the Convex V 4.0 C compiler | 137 * Force a K&R compilation and libraries with the Convex V 4.0 C compiler |
140 */ | 138 */ |
141 #define C_SWITCH_MACHINE -pcc | 139 #define C_SWITCH_MACHINE "-pcc" |
142 #define LIB_STANDARD -lc_old | 140 #define LIB_STANDARD "-lc_old" |
143 #define LIBS_MACHINE -lC2_old | 141 #define LIBS_MACHINE "-lC2_old" |
144 #define LD_SWITCH_MACHINE -X -NL -fn -Enoposix -A__iob=___ap\$$iob \ | 142 #define LD_SWITCH_MACHINE "-X -NL -fn -Enoposix -A__iob=___ap\$$iob -A_use_libc_sema=___ap\$$use_libc_sema -L /usr/lib" |
145 -A_use_libc_sema=___ap\$$use_libc_sema -L /usr/lib | |
146 #endif | 143 #endif |
147 | 144 |
148 /* Avoid error in xrdb.c - d.m.cooke@larc.nasa.gov. */ | 145 /* Avoid error in xrdb.c - d.m.cooke@larc.nasa.gov. */ |
149 #define DECLARE_GETPWUID_WITH_UID_T | 146 #define DECLARE_GETPWUID_WITH_UID_T |
150 | 147 |
151 /* Call getpgrp properly. */ | 148 /* Call getpgrp properly. */ |
152 #define GETPGRP_NO_ARG | 149 #define GETPGRP_NO_ARG |
153 | 150 |
154 /* Tested for both Convex C and GNUC by d.m.cooke@larc.nasa.gov. */ | 151 /* Tested for both Convex C and GNUC by d.m.cooke@larc.nasa.gov. */ |
155 #define LIBS_MACHINE -lC2 | 152 #define LIBS_MACHINE "-lC2" |
156 | 153 |
157 /* Avoid error in getloadavg.c. */ | 154 /* Avoid error in getloadavg.c. */ |
158 #define NLIST_NAME_UNION 1 | 155 #define NLIST_NAME_UNION 1 |
159 | 156 |
160 #if 0 /* This is supposed to be an improvement. | 157 #if 0 /* This is supposed to be an improvement. |
161 It would be good for people to try enabling this code | 158 It would be good for people to try enabling this code |
162 and report the results. */ | 159 and report the results. */ |
163 /* gcc -nostdlib prevents some math symbols from being included. | 160 /* gcc -nostdlib prevents some math symbols from being included. |
164 So we have to use -nostartfiles instead. */ | 161 So we have to use -nostartfiles instead. */ |
165 #define LINKER $(CC) -nostartfiles | 162 #define LINKER "$(CC) -nostartfiles" |
166 | 163 |
167 #define ORDINARY_LINK | 164 #define ORDINARY_LINK |
168 | 165 |
169 #undef LD_SWITCH_MACHINE | 166 #undef LD_SWITCH_MACHINE |
170 #define LD_SWITCH_MACHINE \ | 167 #define LD_SWITCH_MACHINE "-L /usr/lib '-A__iob=___ap$$iob' '-A_use_libc_sema=___ap$$use_libc_sema'" |
171 -L /usr/lib \ | |
172 '-A__iob=___ap$$iob' '-A_use_libc_sema=___ap$$use_libc_sema' | |
173 #endif | 168 #endif |