comparison src/m/delta.h @ 11752:c5ea5058d310

* delta.h (C_SWITCH_MACHINE): Let configure decide if this is a 68040 or 68030. Don't condition on __STDC__.
author Francesco Potortì <pot@gnu.org>
date Mon, 08 May 1995 14:48:26 +0000
parents f145d62266f6
children 1d4654a97585
comparison
equal deleted inserted replaced
11751:422c7ecfe205 11752:c5ea5058d310
161 #define LIBS_TERMCAP -lcurses 161 #define LIBS_TERMCAP -lcurses
162 #define LIBS_SYSTEM -lbsd 162 #define LIBS_SYSTEM -lbsd
163 #undef sigsetmask 163 #undef sigsetmask
164 164
165 #ifdef HAVE_X_WINDOWS 165 #ifdef HAVE_X_WINDOWS
166 /* I have not tested X, but I think these are obsolete, so let's
167 commment them -pot@cnuce.cnr.it */
168 /* debug switches enabled because of some difficulties w/X11
169 # define C_DEBUG_SWITCH -g
170 # define OBJECTS_MACHINE -lg
171 # define C_OPTIMIZE_SWITCH
172 # define CANNOT_DUMP
173 # define XDEBUG */
174 /* X library is in 'nonstandard' location. */
175 /* This should be taken care of by configure -pot@cnuce.cnr.it
176 # define LD_SWITCH_MACHINE -L/usr/lib/X11/ */
177 # define HAVE_RANDOM 166 # define HAVE_RANDOM
178 # define BROKEN_FIONREAD /* pearce@ll.mit.edu says this is needed. */ 167 # define BROKEN_FIONREAD /* pearce@ll.mit.edu says this is needed. */
179 # define HAVE_XSCREENNUMBEROFSCREEN 168 # define HAVE_XSCREENNUMBEROFSCREEN
180 # undef LIB_X11_LIB /* no shared libraries */ 169 # undef LIB_X11_LIB /* no shared libraries */
181 # define LIB_X11_LIB -lX11 170 # define LIB_X11_LIB -lX11
189 # define alloca __builtin_alloca 178 # define alloca __builtin_alloca
190 # define HAVE_ALLOCA 179 # define HAVE_ALLOCA
191 /* Union lisp objects do not yet work as of 19.15. */ 180 /* Union lisp objects do not yet work as of 19.15. */
192 /* # undef NO_UNION_TYPE */ 181 /* # undef NO_UNION_TYPE */
193 182
194 /* There are three ways to use the gnucc provided with R3V7. Either 183 /* We are assuming here that the `true' GNU gcc has not been
195 link /bin/ccd/cc to /bin/cc and then configure (supposing that CC 184 installed, and we are using the gnucc provided by Motorola. No
196 is unset or set to cc). Or configure like this: `CC=/bin/ccd/cc 185 support exists for compiling with GNU gcc, as I do not have it on
197 configure', or else configure like this: `CC=gnucc configure'. */ 186 my machine to try it out. -pot@cnuce.cnr.it
198 187 If __STDC__ is defined gnucc has been called without the -traditional
199 # ifdef __STDC__ 188 option, that is, we are inside configure. If THIS_IS_CONFIGURE is
200 /* Compiling with gnucc (not through ccd). This means -traditional is 189 not defined, then configure is trying to figure out what the right
201 not set. Let us set it, because gmalloc.c includes <stddef.h>, 190 option for real compilation are.
202 and we don't have that (as of SYSV68 R3V7). */ 191 Let us set -traditional, because gmalloc.c includes <stddef.h>, and
203 # define C_SWITCH_MACHINE -mfp0ret -m68881 -traditional -Dconst= -fdelayed-branch -fstrength-reduce -fno-inline -fcaller-saves 192 we don't have that (as of SYSV68 R3V7). */
193 # define C_SWITCH_MACHINE -mfp0ret -traditional -Dconst= -fdelayed-branch -fstrength-reduce -fno-inline -fcaller-saves
204 # define LIB_GCC /lib/gnulib881 194 # define LIB_GCC /lib/gnulib881
205 # endif /* __STDC__ */
206 195
207 #else 196 #else
208 /* Not __GNUC__, use the alloca in alloca.s. */ 197 /* Not __GNUC__, use the alloca in alloca.s. */
209 198
210 /* Try to guess if we are using the Green Hills Compiler */ 199 /* Try to guess if we are using the Green Hills Compiler */
211 # if defined mc68000 && defined MC68000 200 # if defined mc68000 && defined MC68000
212 /* Required only for use with Green Hills compiler: 201 /* Required only for use with Green Hills compiler:
213 -ga Because alloca relies on stack frames. This option forces 202 -ga Because alloca relies on stack frames. This option forces
214 the Green Hills compiler to create stack frames even for 203 the Green Hills compiler to create stack frames even for
215 functions with few local variables. */ 204 functions with few local variables. */
216 # define C_SWITCH_MACHINE -ga -O 205 # define C_SWITCH_MACHINE -ga -O
217 # define GAP_USE_BCOPY /* *++to = *++from is inefficient */ 206 # define GAP_USE_BCOPY /* *++to = *++from is inefficient */