comparison src/m/ibmps2-aix.h @ 163:0132846995bd r20-3b8

Import from CVS: tag r20-3b8
author cvs
date Mon, 13 Aug 2007 09:43:35 +0200
parents 43dd3413c7c7
children 2d532a89d707
comparison
equal deleted inserted replaced
162:4de2936b4e77 163:0132846995bd
93 #endif 93 #endif
94 94
95 #if 0 /* I refuse to promulgate a recommendation that would make 95 #if 0 /* I refuse to promulgate a recommendation that would make
96 users unable to debug - RMS. */ 96 users unable to debug - RMS. */
97 /* delete the following line to foil optimization, enable debugging */ 97 /* delete the following line to foil optimization, enable debugging */
98 #define C_DEBUG_SWITCH -O 98 #define C_DEBUG_SWITCH "-O"
99 #endif 99 #endif
100 100
101 /* Send signals to subprocesses by "typing" special chars at them. */ 101 /* Send signals to subprocesses by "typing" special chars at them. */
102 102
103 #define SIGNALS_VIA_CHARACTERS 103 #define SIGNALS_VIA_CHARACTERS
143 143
144 #ifdef __GNUC__ 144 #ifdef __GNUC__
145 #define HAVE_ALLOCA 145 #define HAVE_ALLOCA
146 #define alloca(n) __builtin_alloca(n) 146 #define alloca(n) __builtin_alloca(n)
147 #if __GNUC__ < 2 147 #if __GNUC__ < 2
148 #define LIB_STANDARD /usr/local/lib/gcc-gnulib -lbsd -lrts -lc 148 #define LIB_STANDARD "/usr/local/lib/gcc-gnulib -lbsd -lrts -lc "
149 #endif 149 #endif
150 /* -g fails to work, so it is omitted. */ 150 /* -g fails to work, so it is omitted. */
151 /* tranle says that -fstrength-reduce does not help. */ 151 /* tranle says that -fstrength-reduce does not help. */
152 #define C_DEBUG_SWITCH 152 #define C_DEBUG_SWITCH
153 #else 153 #else
154 #define C_ALLOCA 154 #define C_ALLOCA
155 #define STACK_DIRECTION -1 /* tell alloca.c which way it grows */ 155 #define STACK_DIRECTION -1 /* tell alloca.c which way it grows */
156 #define LIBS_MACHINE -lbsd -lrts 156 #define LIBS_MACHINE "-lbsd -lrts"
157 #endif 157 #endif
158 158
159 #define OBJECTS_MACHINE hftctl.o 159 #define OBJECTS_MACHINE "hftctl.o"
160 #define LD_SWITCH_MACHINE -T0x00400000 -K -e start 160 #define LD_SWITCH_MACHINE "-T0x00400000 -K -e start"
161 #define LIBS_DEBUG /* no -lg on aix ps/2 */ 161 #define LIBS_DEBUG /* no -lg on aix ps/2 */
162 162
163 #ifdef USG5_3 163 #ifdef USG5_3
164 #define XICCC 164 #define XICCC
165 #undef LD_SWITCH_MACHINE 165 #undef LD_SWITCH_MACHINE
166 #define LD_SWITCH_MACHINE -T0x0 -K -e start 166 #define LD_SWITCH_MACHINE "-T0x0 -K -e start"
167 167
168 /* Things defined in s-usg5-3.h that need to be overridden. */ 168 /* Things defined in s-usg5-3.h that need to be overridden. */
169 #undef BROKEN_TIOCGETC 169 #undef BROKEN_TIOCGETC
170 #undef BROKEN_TIOCGWINSZ 170 #undef BROKEN_TIOCGWINSZ
171 #undef LIBX10_SYSTEM 171 #undef LIBX10_SYSTEM
181 #ifdef USG_SHARED_LIBRARIES 181 #ifdef USG_SHARED_LIBRARIES
182 #define ORDINARY_LINK 182 #define ORDINARY_LINK
183 #undef LIB_STANDARD 183 #undef LIB_STANDARD
184 #undef LD_SWITCH_MACHINE 184 #undef LD_SWITCH_MACHINE
185 #if __GNUC__ > 1 185 #if __GNUC__ > 1
186 #define LD_SWITCH_MACHINE -shlib 186 #define LD_SWITCH_MACHINE "-shlib"
187 #endif 187 #endif
188 #endif 188 #endif