Mercurial > hg > xemacs-beta
comparison src/s/linux.h @ 272:c5d627a313b1 r21-0b34
Import from CVS: tag r21-0b34
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:28:48 +0200 |
parents | f220cc83d72e |
children | 6330739388db |
comparison
equal
deleted
inserted
replaced
271:c7b7086b0a39 | 272:c5d627a313b1 |
---|---|
101 #define LIBS_DEBUG | 101 #define LIBS_DEBUG |
102 #define LIBS_TERMCAP "-ltermcap -lcurses" /* save some space with shared libs*/ | 102 #define LIBS_TERMCAP "-ltermcap -lcurses" /* save some space with shared libs*/ |
103 #ifndef __ELF__ | 103 #ifndef __ELF__ |
104 #define LIB_STANDARD "-lc" /* avoid -lPW */ | 104 #define LIB_STANDARD "-lc" /* avoid -lPW */ |
105 #else | 105 #else |
106 #undef LIB_GCC | 106 /*#undef LIB_GCC |
107 #define LIB_GCC | 107 #define LIB_GCC*/ |
108 #define LIB_STANDARD "-lgcc -lc -lgcc /usr/lib/crtn.o" | 108 #define LIB_STANDARD "-lgcc -lc -lgcc /usr/lib/crtn.o" |
109 #define LINKER "$(CC) -nostdlib" | |
109 #endif | 110 #endif |
110 | 111 |
111 #ifdef TERM | 112 #ifdef TERM |
112 #define LIBS_SYSTEM "-lclient" | 113 #define LIBS_SYSTEM "-lclient" |
113 /* #define C_SWITCH_SYSTEM "-D_BSD_SOURCE -I/usr/src/term" - mrb */ | |
114 #define C_SWITCH_SYSTEM "-I/usr/src/term" | 114 #define C_SWITCH_SYSTEM "-I/usr/src/term" |
115 #else | 115 #else |
116 /* alane@wozzle.linet.org says that -lipc is not a separate library, | 116 /* alane@wozzle.linet.org says that -lipc is not a separate library, |
117 since libc-4.4.1. So -lipc was deleted. */ | 117 since libc-4.4.1. So -lipc was deleted. */ |
118 #define LIBS_SYSTEM | 118 #define LIBS_SYSTEM |
119 #endif | 119 #endif |
120 | 120 |
121 #ifdef __ELF__ | 121 #ifdef __ELF__ |
122 #define UNEXEC "unexelf.o" | 122 #define UNEXEC "unexelf.o" |
123 #define UNEXEC_USE_MAP_PRIVATE | 123 #define UNEXEC_USE_MAP_PRIVATE |
124 #if 0 | |
124 /* mrb - Ordinary link is simple and effective */ | 125 /* mrb - Ordinary link is simple and effective */ |
126 /* slb - Not any more ... :-( */ | |
125 #define ORDINARY_LINK | 127 #define ORDINARY_LINK |
126 #undef LIB_STANDARD | 128 #undef LIB_STANDARD |
127 #undef START_FILES | 129 #undef START_FILES |
128 #undef LIB_GCC | 130 #undef LIB_GCC |
131 #endif | |
129 #endif /* __ELF__ */ | 132 #endif /* __ELF__ */ |
130 | 133 |
131 #ifdef LINUX_QMAGIC | 134 #ifdef LINUX_QMAGIC |
132 | 135 |
133 #define HAVE_TEXT_START | 136 #define HAVE_TEXT_START |