]> rtime.felk.cvut.cz Git - l4.git/blob - l4/pkg/uclibc/lib/uclibc/ARCH-ppc32/include/bits/uClibc_config.h
update
[l4.git] / l4 / pkg / uclibc / lib / uclibc / ARCH-ppc32 / include / bits / uClibc_config.h
1 #if !defined __FEATURES_H && !defined __need_uClibc_config_h
2 # error Never include <bits/uClibc_config.h> directly; use <features.h> instead
3 #endif
4
5 #ifndef libc_hidden_proto
6 #define libc_hidden_proto(x)
7 #endif
8 #ifndef libm_hidden_proto
9 #define libm_hidden_proto(x)
10 #endif
11 #ifndef librt_hidden_proto
12 #define librt_hidden_proto(x)
13 #endif
14
15 #ifndef _GNU_SOURCE
16 #define _GNU_SOURCE 1
17 #endif
18
19 #define __UCLIBC_MAJOR__ 0
20 #define __UCLIBC_MINOR__ 9
21 #define __UCLIBC_SUBLEVEL__ 29
22 /* Automatically generated make config: don't edit */
23 /* Sun Feb 10 18:15:17 2008 */
24 #undef __TARGET_alpha__
25 #undef __TARGET_arm__
26 #undef __TARGET_avr32__
27 #undef __TARGET_bfin__
28 #undef __TARGET_cris__
29 #undef __TARGET_e1__
30 #undef __TARGET_frv__
31 #undef __TARGET_h8300__
32 #undef __TARGET_hppa__
33 #undef __TARGET_i386__
34 #undef __TARGET_i960__
35 #undef __TARGET_ia64__
36 #undef __TARGET_m68k__
37 #undef __TARGET_microblaze__
38 #undef __TARGET_mips__
39 #undef __TARGET_nios__
40 #undef __TARGET_nios2__
41 #define __TARGET_powerpc__ 1
42 #undef __TARGET_sh__
43 #undef __TARGET_sh64__
44 #undef __TARGET_sparc__
45 #undef __TARGET_v850__
46 #undef __TARGET_vax__
47 #undef __TARGET_x86_64__
48 #undef __TARGET_xtensa__
49
50 /* Target Architecture Features and Options */
51 #define __TARGET_ARCH__ "powerpc"
52 #define __FORCE_OPTIONS_FOR_ARCH__ 1
53 #undef __CONFIG_GENERIC_386__
54 #undef __CONFIG_386__
55 #undef __CONFIG_486__
56 #undef __CONFIG_586__
57 #undef __CONFIG_586MMX__
58 #undef __CONFIG_686__
59 #undef __CONFIG_PENTIUMII__
60 #undef __CONFIG_PENTIUMIII__
61 #undef __CONFIG_PENTIUM4__
62 #undef __CONFIG_K6__
63 #undef __CONFIG_K7__
64 #undef __CONFIG_ELAN__
65 #undef __CONFIG_CRUSOE__
66 #undef __CONFIG_WINCHIPC6__
67 #undef __CONFIG_WINCHIP2__
68 #undef __CONFIG_CYRIXIII__
69 #undef __CONFIG_NEHEMIAH__
70 #define __TARGET_SUBARCH__ ""
71
72 /* Using ELF file format */
73 #define __ARCH_LITTLE_ENDIAN__ 1
74
75 /* Using Little Endian */
76 #define __ARCH_HAS_MMU__ 1
77 #define __ARCH_USE_MMU__ 1
78 #define __UCLIBC_HAS_FLOATS__ 1
79 #define __UCLIBC_HAS_SOFT_FLOAT__ 1
80 #define __HAS_FPU__ 1
81 #define __DO_C99_MATH__ 1
82 #define __UCLIBC_HAS_LONG_DOUBLE_MATH__ 1
83 #define __KERNEL_SOURCE__ "/home/linux"
84 #define __C_SYMBOL_PREFIX__ ""
85 #define __HAVE_DOT_CONFIG__ 1
86
87 /*
88  * General Library Settings
89  */
90 #undef __HAVE_NO_PIC__
91 #define __DOPIC__ 1
92 #undef __HAVE_NO_SHARED__
93 #define __HAVE_SHARED__
94 #undef __ARCH_HAS_NO_LDSO__
95 #undef __BUILD_UCLIBC_LDSO__
96 #undef __DL_FINI_CRT_COMPAT__
97 #define __UCLIBC_CTOR_DTOR__ 1
98 #undef __HAS_NO_THREADS__
99 #ifndef L4_MINIMAL_LIBC
100 #define __UCLIBC_HAS_THREADS__ 1
101 #define __LINUXTHREADS_OLD__ 1
102 #undef __UCLIBC_HAS_TLS__
103 #undef __UCLIBC_HAS_THREADS_NATIVE__
104
105 #define __UCLIBC_HAS_LFS__ 1
106 #define __UCLIBC_STATIC_LDCONFIG__ 1
107
108 /*
109  * Networking Support
110  */
111 #define __UCLIBC_HAS_COMPAT_RES_STATE__ 1
112 #define __UCLIBC_HAS_IPV4__ 1
113
114 /*
115  * String and Stdio Support
116  */
117 #define __UCLIBC_HAS_STRING_GENERIC_OPT__ 1
118 #define __UCLIBC_HAS_STRING_ARCH_OPT__ 1
119 #define __UCLIBC_HAS_CTYPE_TABLES__ 1
120 #define __UCLIBC_HAS_CTYPE_SIGNED__ 1
121 #define __UCLIBC_HAS_CTYPE_UNSAFE__ 1
122 #undef __UCLIBC_HAS_CTYPE_CHECKED__
123 #undef __UCLIBC_HAS_CTYPE_ENFORCED__
124 #define __UCLIBC_HAS_WCHAR__ 1
125 #undef __UCLIBC_HAS_LOCALE__
126 #undef __UCLIBC_HAS_HEXADECIMAL_FLOATS__
127 #undef __UCLIBC_HAS_GLIBC_CUSTOM_PRINTF__
128 #undef __USE_OLD_VFPRINTF__
129 #define __UCLIBC_PRINTF_SCANF_POSITIONAL_ARGS__ 9
130 #undef __UCLIBC_HAS_SCANF_GLIBC_A_FLAG__
131 #undef __UCLIBC_HAS_STDIO_BUFSIZ_NONE__
132 #define __UCLIBC_HAS_STDIO_BUFSIZ_256__ 1
133 #undef __UCLIBC_HAS_STDIO_BUFSIZ_512__
134 #undef __UCLIBC_HAS_STDIO_BUFSIZ_1024__
135 #undef __UCLIBC_HAS_STDIO_BUFSIZ_2048__
136 #undef __UCLIBC_HAS_STDIO_BUFSIZ_4096__
137 #undef __UCLIBC_HAS_STDIO_BUFSIZ_8192__
138 #define __UCLIBC_HAS_STDIO_BUILTIN_BUFFER_NONE__ 1
139 #undef __UCLIBC_HAS_STDIO_BUILTIN_BUFFER_4__
140 #undef __UCLIBC_HAS_STDIO_BUILTIN_BUFFER_8__
141 #undef __UCLIBC_HAS_STDIO_SHUTDOWN_ON_ABORT__
142 #define __UCLIBC_HAS_STDIO_GETC_MACRO__ 1
143 #define __UCLIBC_HAS_STDIO_PUTC_MACRO__ 1
144 #define __UCLIBC_HAS_STDIO_AUTO_RW_TRANSITION__ 1
145 #undef __UCLIBC_HAS_FOPEN_LARGEFILE_MODE__
146 #undef __UCLIBC_HAS_FOPEN_EXCLUSIVE_MODE__
147 #undef __UCLIBC_HAS_GLIBC_CUSTOM_STREAMS__
148 #undef __UCLIBC_HAS_PRINTF_M_SPEC__
149 #define __UCLIBC_HAS_ERRNO_MESSAGES__ 1
150 #undef __UCLIBC_HAS_SYS_ERRLIST__
151 #define __UCLIBC_HAS_SIGNUM_MESSAGES__ 1
152 #undef __UCLIBC_HAS_SYS_SIGLIST__
153 #define __UCLIBC_HAS_GNU_GETOPT__ 1
154 #define __UCLIBC_HAS_GNU_GETSUBOPT__ 1
155
156 /* Big and Tall */
157 #define __UCLIBC_HAS_REGEX__ 1
158 #define __UCLIBC_HAS_REGEX_OLD__ 1
159 #define __UCLIBC_HAS_FNMATCH__ 1
160 #define __UCLIBC_HAS_FNMATCH_OLD__ 1
161 #undef __UCLIBC_HAS_WORDEXP__
162 #undef __UCLIBC_HAS_FTW__
163 #define __UCLIBC_HAS_GLOB__ 1
164 #define __UCLIBC_HAS_GNU_GLOB__ 1
165
166 #else /* The minimal version, w/o threads etc. */
167
168 #define __HAS_NO_THREADS__ 1
169 #undef __UCLIBC_HAS_LFS__
170 #undef __UCLIBC_STATIC_LDCONFIG__
171
172 /*
173  * Networking Support
174  */
175 #undef __UCLIBC_HAS_COMPAT_RES_STATE__
176 #undef __UCLIBC_HAS_IPV4__
177
178 /*
179  * String and Stdio Support
180  */
181 #define __UCLIBC_HAS_STRING_GENERIC_OPT__ 1
182 #define __UCLIBC_HAS_STRING_ARCH_OPT__ 1
183 #define __UCLIBC_HAS_CTYPE_TABLES__ 1
184 #define __UCLIBC_HAS_CTYPE_SIGNED__ 1
185 #define __UCLIBC_HAS_CTYPE_UNSAFE__ 1
186 #undef __UCLIBC_HAS_CTYPE_CHECKED__
187 #undef __UCLIBC_HAS_CTYPE_ENFORCED__
188 #undef __UCLIBC_HAS_WCHAR__
189 #undef __UCLIBC_HAS_LOCALE__
190 #undef __UCLIBC_HAS_HEXADECIMAL_FLOATS__
191 #undef __UCLIBC_HAS_GLIBC_CUSTOM_PRINTF__
192 #undef __USE_OLD_VFPRINTF__
193 #define __UCLIBC_PRINTF_SCANF_POSITIONAL_ARGS__ 9
194 #undef __UCLIBC_HAS_SCANF_GLIBC_A_FLAG__
195 #undef __UCLIBC_HAS_STDIO_BUFSIZ_NONE__
196 #define __UCLIBC_HAS_STDIO_BUFSIZ_256__ 1
197 #undef __UCLIBC_HAS_STDIO_BUFSIZ_512__
198 #undef __UCLIBC_HAS_STDIO_BUFSIZ_1024__
199 #undef __UCLIBC_HAS_STDIO_BUFSIZ_2048__
200 #undef __UCLIBC_HAS_STDIO_BUFSIZ_4096__
201 #undef __UCLIBC_HAS_STDIO_BUFSIZ_8192__
202 #define __UCLIBC_HAS_STDIO_BUILTIN_BUFFER_NONE__ 1
203 #undef __UCLIBC_HAS_STDIO_BUILTIN_BUFFER_4__
204 #undef __UCLIBC_HAS_STDIO_BUILTIN_BUFFER_8__
205 #undef __UCLIBC_HAS_STDIO_SHUTDOWN_ON_ABORT__
206 #define __UCLIBC_HAS_STDIO_GETC_MACRO__ 1
207 #define __UCLIBC_HAS_STDIO_PUTC_MACRO__ 1
208 #define __UCLIBC_HAS_STDIO_AUTO_RW_TRANSITION__ 1
209 #undef __UCLIBC_HAS_FOPEN_LARGEFILE_MODE__
210 #undef __UCLIBC_HAS_FOPEN_EXCLUSIVE_MODE__
211 #undef __UCLIBC_HAS_GLIBC_CUSTOM_STREAMS__
212 #undef __UCLIBC_HAS_PRINTF_M_SPEC__
213 #undef __UCLIBC_HAS_ERRNO_MESSAGES__
214 #undef __UCLIBC_HAS_SYS_ERRLIST__
215 #define __UCLIBC_HAS_SIGNUM_MESSAGES__ 1
216 #undef __UCLIBC_HAS_SYS_SIGLIST__
217 #define __UCLIBC_HAS_GNU_GETOPT__ 1
218 #define __UCLIBC_HAS_GNU_GETSUBOPT__ 1
219
220 /* Big and Tall */
221 #undef __UCLIBC_HAS_REGEX__
222 #undef __UCLIBC_HAS_REGEX_OLD__
223 #undef __UCLIBC_HAS_FNMATCH__
224 #undef __UCLIBC_HAS_FNMATCH_OLD__
225 #undef __UCLIBC_HAS_WORDEXP__
226 #undef __UCLIBC_HAS_FTW__
227 #define __UCLIBC_HAS_GLOB__ 1
228 #define __UCLIBC_HAS_GNU_GLOB__ 1
229
230 #endif
231
232 #undef __MALLOC__
233 #undef __MALLOC_SIMPLE__
234 #define __MALLOC_STANDARD__ 1
235 #undef __MALLOC_GLIBC_COMPAT__
236 #undef __UCLIBC_DYNAMIC_ATEXIT__
237 #define __UCLIBC_SUSV3_LEGACY__
238 #define __UCLIBC_SUSV3_LEGACY_MACROS__
239 #define __UCLIBC_SUSV4_LEGACY__ 1
240 #undef __HAS_SHADOW__
241 #define __UNIX98PTY_ONLY__ 1
242 #define __ASSUME_DEVPTS__ 1
243 #define __UCLIBC_HAS_TM_EXTENSIONS__ 1
244 #define __UCLIBC_HAS_TZ_CACHING__ 1
245 #undef __UCLIBC_HAS_TZ_FILE__
246 #undef __UCLIBC_HAS_TZ_FILE_READ_MANY__
247 #undef __UCLIBC_TZ_FILE_PATH__
248
249 /* Advanced Library Settings */
250 #define __UCLIBC_PWD_BUFFER_SIZE__ 256
251 #define __UCLIBC_GRP_BUFFER_SIZE__ 256
252
253 #define __UCLIBC_HAS_REALTIME__
254 #define __UCLIBC_HAS_ADVANCED_REALTIME__
255
256 /*
257  * Networking Support
258  */
259 #undef __UCLIBC_HAS_IPV6__
260 #undef __UCLIBC_HAS_RPC__
261 #undef __UCLIBC_USE_NETLINK__
262
263
264 /* Library Installation Options */
265 #define __SYSTEM_LDSO__ "/lib/ld-linux.so.2"
266 #define __RUNTIME_PREFIX__ "/usr/$(TARGET_ARCH)-linux-uclibc/"
267 #define __DEVEL_PREFIX__ "/usr/$(TARGET_ARCH)-linux-uclibc/usr/"
268
269 /*
270  * uClibc security related options
271  */
272 #undef __UCLIBC_SECURITY__
273
274
275 /* uClibc development/debugging options */
276 #define __CROSS_COMPILER_PREFIX__ ""
277 #define __UCLIBC_EXTRA_CFLAGS__ ""
278 #undef __DODEBUG__
279 #undef __DODEBUG_PT__
280 #define __DOSTRIP__ 1
281 #undef __DOASSERTS__
282 #define __SUPPORT_LD_DEBUG__ 1
283 #undef __SUPPORT_LD_DEBUG_EARLY__
284 //#define __SUPPORT_LD_DEBUG_EARLY__ 1
285 #define __LDSO_GNU_HASH_SUPPORT__ 1
286 #define __UCLIBC_MALLOC_DEBUGGING__ 1
287 #define __WARNINGS__ "-Wall"
288 #undef __EXTRA_WARNINGS__
289 #undef __DOMULTI__
290 #undef __UCLIBC_MJN3_ONLY__