(command_loop_1): Cancel echoing etc.
[emacs.git] / src / s / sunos4shr.h
blobb95160fe0161bb4c3e701f8508fa8b4f24a1d985
1 /* This file permits building Emacs with a shared libc on Sunos 4.
2 To make this work, you must completely replace your C shared library
3 using one of the SunOS 4.1.x jumbo replacement patches from Sun.
4 Here are the patch numbers for Sunos 4.1.3:
5 100890-10 SunOS 4.1.3: domestic libc jumbo patch
6 100891-10 SunOS 4.1.3: international libc jumbo patch */
9 #include "sunos4-1.h"
11 /* Say that the text segment of a.out includes the header;
12 the header actually occupies the first few bytes of the text segment
13 and is counted in hdr.a_text. */
15 /* Misleading! Actually gets loaded after crt0.o */
16 #define START_FILES pre-crt0.o
19 * Kludge! can't get at symbol "start" in std crt0.o
20 * Who the #$%&* decided to remove the __ characters!
21 * Someone needs to fix this in sysdep.c with an #ifdef BROKEN_START in
22 * sysdep.c. We do not use this address so any value should do really. Still
23 * may need it in the future?
25 #define BROKEN_START
26 #define TEXT_START 0x2020
28 #define UNEXEC unexsunos4.o
29 #define RUN_TIME_REMAP
30 #define ORDINARY_LINK
31 #define SUNOS4_SHARED_LIBRARIES
33 #undef LD_SWITCH_SYSTEM
35 #undef SYSTEM_MALLOC
36 #ifndef GNU_MALLOC
37 #define GNU_MALLOC
38 #endif
39 #ifndef REL_ALLOC
40 #define REL_ALLOC
41 #endif
43 /* khera@cs.duke.edu says this is needed. */
44 #define memmove(to, from, size) bcopy (from, to, size)
46 #undef USE_DL_STUBS
48 #ifndef HAVE_X11R6
49 /* With X11R5 it was reported that linking -lXmu dynamically
50 did not work. With X11R6, it does work; and since normally
51 only the dynamic libraries are available, we should use them. */
52 #ifdef __GNUC__
53 #define LIBXMU -Xlinker -Bstatic -lXmu -Xlinker -Bdynamic
54 #else
55 #define LIBXMU -Bstatic -lXmu -Bdynamic
56 #endif
58 #endif /* not HAVE_X11R6 */