Mercurial > emacs
view src/s/sunos4shr.h @ 83494:b901f4f12f33
Merged from emacs@sv.gnu.org
Patches applied:
* emacs@sv.gnu.org/emacs--devo--0--patch-160
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-161
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-162
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-163
Merge from gnus--rel--5.10
* emacs@sv.gnu.org/emacs--devo--0--patch-164
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-165
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-166
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-167
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-168
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-169
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-170
Merge from gnus--rel--5.10
* emacs@sv.gnu.org/emacs--devo--0--patch-171
Update from CVS: man/mh-e.texi (Folders): Various edits.
* emacs@sv.gnu.org/emacs--devo--0--patch-172
Update from CVS
* emacs@sv.gnu.org/gnus--rel--5.10--patch-58
Update from CVS
* emacs@sv.gnu.org/gnus--rel--5.10--patch-59
Update from CVS
* emacs@sv.gnu.org/gnus--rel--5.10--patch-60
Update from CVS
* emacs@sv.gnu.org/gnus--rel--5.10--patch-61
Update from CVS
* emacs@sv.gnu.org/gnus--rel--5.10--patch-62
Merge from emacs--devo--0
* emacs@sv.gnu.org/gnus--rel--5.10--patch-63
Update from CVS
* emacs@sv.gnu.org/gnus--rel--5.10--patch-64
Update from CVS
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-534
author | Karoly Lorentey <lorentey@elte.hu> |
---|---|
date | Wed, 22 Mar 2006 15:16:06 +0000 |
parents | 695cf19ef79e |
children | 386a4a482dee 375f2633d815 |
line wrap: on
line source
/* This file permits building Emacs with a shared libc on Sunos 4. To make this work, you must completely replace your C shared library using one of the SunOS 4.1.x jumbo replacement patches from Sun. Here are the patch numbers for Sunos 4.1.3: 100890-10 SunOS 4.1.3: domestic libc jumbo patch 100891-10 SunOS 4.1.3: international libc jumbo patch */ #include "sunos4-1.h" /* Say that the text segment of a.out includes the header; the header actually occupies the first few bytes of the text segment and is counted in hdr.a_text. */ /* Misleading! Actually gets loaded after crt0.o */ #define START_FILES pre-crt0.o /* * Kludge! can't get at symbol "start" in std crt0.o * Who the #$%&* decided to remove the __ characters! * Someone needs to fix this in sysdep.c with an #ifdef BROKEN_START in * sysdep.c. We do not use this address so any value should do really. Still * may need it in the future? */ #define BROKEN_START #define TEXT_START 0x2020 #define UNEXEC unexsunos4.o #define RUN_TIME_REMAP #define ORDINARY_LINK #define SUNOS4_SHARED_LIBRARIES #undef LD_SWITCH_SYSTEM #undef LD_SWITCH_SYSTEM_TEMACS #undef SYSTEM_MALLOC #ifndef GNU_MALLOC #define GNU_MALLOC #endif #ifndef REL_ALLOC #define REL_ALLOC #endif /* khera@cs.duke.edu says this is needed. */ #define memmove(to, from, size) bcopy (from, to, size) #undef USE_DL_STUBS #ifndef HAVE_X11R6 /* With X11R5 it was reported that linking -lXmu dynamically did not work. With X11R6, it does work; and since normally only the dynamic libraries are available, we should use them. */ #ifdef __GNUC__ #define LIBXMU -Xlinker -Bstatic -lXmu -Xlinker -Bdynamic #else #define LIBXMU -Bstatic -lXmu -Bdynamic #endif #endif /* not HAVE_X11R6 */ /* arch-tag: cb54321a-ed45-4c17-a23e-1c157758da78 (do not change this comment) */