Add --bzip2. Update copyright.
[bpt/emacs.git] / src / s / sunos4shr.h
CommitLineData
cf3c5e88
GM
1/*
2Copyright (C) 1994, 2001, 2002, 2003, 2004, 2005, 2006,
3 2007 Free Software Foundation, Inc.
4
5This file is part of GNU Emacs.
6
7GNU Emacs is free software; you can redistribute it and/or modify
8it under the terms of the GNU General Public License as published by
4a9f99bd 9the Free Software Foundation; either version 3, or (at your option)
cf3c5e88
GM
10any later version.
11
12GNU Emacs is distributed in the hope that it will be useful,
13but WITHOUT ANY WARRANTY; without even the implied warranty of
14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15GNU General Public License for more details.
16
17You should have received a copy of the GNU General Public License
18along with GNU Emacs; see the file COPYING. If not, write to
19the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
20Boston, MA 02110-1301, USA. */
21
22
ddbb28f4
RS
23/* This file permits building Emacs with a shared libc on Sunos 4.
24 To make this work, you must completely replace your C shared library
d6c862ca
RS
25 using one of the SunOS 4.1.x jumbo replacement patches from Sun.
26 Here are the patch numbers for Sunos 4.1.3:
27 100890-10 SunOS 4.1.3: domestic libc jumbo patch
28 100891-10 SunOS 4.1.3: international libc jumbo patch */
29
ddbb28f4 30
16f7413a 31#include "sunos4-1.h"
20c428fd
JB
32
33/* Say that the text segment of a.out includes the header;
34 the header actually occupies the first few bytes of the text segment
35 and is counted in hdr.a_text. */
36
20c428fd
JB
37/* Misleading! Actually gets loaded after crt0.o */
38#define START_FILES pre-crt0.o
39
40/*
41 * Kludge! can't get at symbol "start" in std crt0.o
42 * Who the #$%&* decided to remove the __ characters!
43 * Someone needs to fix this in sysdep.c with an #ifdef BROKEN_START in
44 * sysdep.c. We do not use this address so any value should do really. Still
45 * may need it in the future?
46 */
47#define BROKEN_START
48#define TEXT_START 0x2020
49
50#define UNEXEC unexsunos4.o
51#define RUN_TIME_REMAP
c667ca30 52#define ORDINARY_LINK
0099c05a 53#define SUNOS4_SHARED_LIBRARIES
16f7413a
JB
54
55#undef LD_SWITCH_SYSTEM
12ddbaa9 56#undef LD_SWITCH_SYSTEM_TEMACS
562378c0
RS
57
58#undef SYSTEM_MALLOC
ddbb28f4 59#ifndef GNU_MALLOC
562378c0 60#define GNU_MALLOC
ddbb28f4
RS
61#endif
62#ifndef REL_ALLOC
562378c0 63#define REL_ALLOC
ddbb28f4 64#endif
9e6e0fe2
RS
65
66/* khera@cs.duke.edu says this is needed. */
67#define memmove(to, from, size) bcopy (from, to, size)
a23e3ce7
RS
68
69#undef USE_DL_STUBS
24a9ec1b 70
6ef338b7
RS
71#ifndef HAVE_X11R6
72/* With X11R5 it was reported that linking -lXmu dynamically
73 did not work. With X11R6, it does work; and since normally
74 only the dynamic libraries are available, we should use them. */
24a9ec1b 75#ifdef __GNUC__
6ef338b7 76#define LIBXMU -Xlinker -Bstatic -lXmu -Xlinker -Bdynamic
24a9ec1b 77#else
6ef338b7 78#define LIBXMU -Bstatic -lXmu -Bdynamic
24a9ec1b 79#endif
6ef338b7
RS
80
81#endif /* not HAVE_X11R6 */
ab5796a9
MB
82
83/* arch-tag: cb54321a-ed45-4c17-a23e-1c157758da78
84 (do not change this comment) */