]> rtime.felk.cvut.cz Git - l4.git/blob - l4/pkg/uclibc/lib/uclibc/ARCH-x86/include/bits/uClibc_config.h
update
[l4.git] / l4 / pkg / uclibc / lib / uclibc / ARCH-x86 / 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 #define __TARGET_i386__ 1
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 #undef __TARGET_powerpc__
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__ "i386"
52 #define __FORCE_OPTIONS_FOR_ARCH__ 1
53 #define __CONFIG_GENERIC_386__ 1
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 /* FM3: For arm. Does not influence x86. */
80 #define __UCLIBC_HAS_SOFT_FLOAT__ 1
81 #define __HAS_FPU__ 1
82 #define __DO_C99_MATH__ 1
83 #define __UCLIBC_HAS_LONG_DOUBLE_MATH__ 1
84 #define __KERNEL_SOURCE__ "/home/linux"
85 #define __C_SYMBOL_PREFIX__ ""
86 #define __HAVE_DOT_CONFIG__ 1
87
88 /*
89  * General Library Settings
90  */
91 #undef __HAVE_NO_PIC__
92 #define __DOPIC__ 1
93 #undef __HAVE_NO_SHARED__
94 #define __HAVE_SHARED__
95 #undef __ARCH_HAS_NO_LDSO__
96 #undef __BUILD_UCLIBC_LDSO__
97 #undef __DL_FINI_CRT_COMPAT__
98 #define __UCLIBC_CTOR_DTOR__ 1
99 #undef __HAS_NO_THREADS__
100 #ifndef L4_MINIMAL_LIBC
101 #define __UCLIBC_HAS_THREADS__ 1
102 #define __LINUXTHREADS_OLD__ 1
103 #define __UCLIBC_HAS_TLS__ 1
104 #define __UCLIBC_HAS_THREADS_NATIVE__ 1
105
106 #define __UCLIBC_HAS_LFS__ 1
107 #define __UCLIBC_STATIC_LDCONFIG__ 1
108
109 /*
110  * Networking Support
111  */
112 #define __UCLIBC_HAS_COMPAT_RES_STATE__ 1
113 #define __UCLIBC_HAS_IPV4__ 1
114
115 /*
116  * String and Stdio Support
117  */
118 #define __UCLIBC_HAS_STRING_GENERIC_OPT__ 1
119 #define __UCLIBC_HAS_STRING_ARCH_OPT__ 1
120 #define __UCLIBC_HAS_CTYPE_TABLES__ 1
121 #define __UCLIBC_HAS_CTYPE_SIGNED__ 1
122 #define __UCLIBC_HAS_CTYPE_UNSAFE__ 1
123 #undef __UCLIBC_HAS_CTYPE_CHECKED__
124 #undef __UCLIBC_HAS_CTYPE_ENFORCED__
125 #define __UCLIBC_HAS_WCHAR__ 1
126 #undef __UCLIBC_HAS_LOCALE__
127 #undef __UCLIBC_HAS_HEXADECIMAL_FLOATS__
128 #undef __UCLIBC_HAS_GLIBC_CUSTOM_PRINTF__
129 #undef __USE_OLD_VFPRINTF__
130 #define __UCLIBC_PRINTF_SCANF_POSITIONAL_ARGS__ 9
131 #undef __UCLIBC_HAS_SCANF_GLIBC_A_FLAG__
132 #undef __UCLIBC_HAS_STDIO_BUFSIZ_NONE__
133 #define __UCLIBC_HAS_STDIO_BUFSIZ_256__ 1
134 #undef __UCLIBC_HAS_STDIO_BUFSIZ_512__
135 #undef __UCLIBC_HAS_STDIO_BUFSIZ_1024__
136 #undef __UCLIBC_HAS_STDIO_BUFSIZ_2048__
137 #undef __UCLIBC_HAS_STDIO_BUFSIZ_4096__
138 #undef __UCLIBC_HAS_STDIO_BUFSIZ_8192__
139 #define __UCLIBC_HAS_STDIO_BUILTIN_BUFFER_NONE__ 1
140 #undef __UCLIBC_HAS_STDIO_BUILTIN_BUFFER_4__
141 #undef __UCLIBC_HAS_STDIO_BUILTIN_BUFFER_8__
142 #undef __UCLIBC_HAS_STDIO_SHUTDOWN_ON_ABORT__
143 #define __UCLIBC_HAS_STDIO_GETC_MACRO__ 1
144 #define __UCLIBC_HAS_STDIO_PUTC_MACRO__ 1
145 #define __UCLIBC_HAS_STDIO_AUTO_RW_TRANSITION__ 1
146 #undef __UCLIBC_HAS_FOPEN_LARGEFILE_MODE__
147 #undef __UCLIBC_HAS_FOPEN_EXCLUSIVE_MODE__
148 #undef __UCLIBC_HAS_GLIBC_CUSTOM_STREAMS__
149 #undef __UCLIBC_HAS_PRINTF_M_SPEC__
150 #define __UCLIBC_HAS_ERRNO_MESSAGES__ 1
151 #undef __UCLIBC_HAS_SYS_ERRLIST__
152 #define __UCLIBC_HAS_SIGNUM_MESSAGES__ 1
153 #undef __UCLIBC_HAS_SYS_SIGLIST__
154 #define __UCLIBC_HAS_GNU_GETOPT__ 1
155 #define __UCLIBC_HAS_GNU_GETSUBOPT__ 1
156
157 /* Big and Tall */
158 #define __UCLIBC_HAS_REGEX__ 1
159 #define __UCLIBC_HAS_REGEX_OLD__ 1
160 #define __UCLIBC_HAS_FNMATCH__ 1
161 #define __UCLIBC_HAS_FNMATCH_OLD__ 1
162 #undef __UCLIBC_HAS_WORDEXP__
163 #undef __UCLIBC_HAS_FTW__
164 #define __UCLIBC_HAS_GLOB__ 1
165 #define __UCLIBC_HAS_GNU_GLOB__ 1
166
167 #else /* The minimal version, w/o threads etc. */
168
169 #define __HAS_NO_THREADS__ 1
170 #undef __UCLIBC_HAS_LFS__
171 #undef __UCLIBC_STATIC_LDCONFIG__
172
173 /*
174  * Networking Support
175  */
176 #undef __UCLIBC_HAS_COMPAT_RES_STATE__
177 #undef __UCLIBC_HAS_IPV4__
178
179 /*
180  * String and Stdio Support
181  */
182 #define __UCLIBC_HAS_STRING_GENERIC_OPT__ 1
183 #define __UCLIBC_HAS_STRING_ARCH_OPT__ 1
184 #define __UCLIBC_HAS_CTYPE_TABLES__ 1
185 #define __UCLIBC_HAS_CTYPE_SIGNED__ 1
186 #define __UCLIBC_HAS_CTYPE_UNSAFE__ 1
187 #undef __UCLIBC_HAS_CTYPE_CHECKED__
188 #undef __UCLIBC_HAS_CTYPE_ENFORCED__
189 #undef __UCLIBC_HAS_WCHAR__
190 #undef __UCLIBC_HAS_LOCALE__
191 #undef __UCLIBC_HAS_HEXADECIMAL_FLOATS__
192 #undef __UCLIBC_HAS_GLIBC_CUSTOM_PRINTF__
193 #undef __USE_OLD_VFPRINTF__
194 #define __UCLIBC_PRINTF_SCANF_POSITIONAL_ARGS__ 9
195 #undef __UCLIBC_HAS_SCANF_GLIBC_A_FLAG__
196 #undef __UCLIBC_HAS_STDIO_BUFSIZ_NONE__
197 #define __UCLIBC_HAS_STDIO_BUFSIZ_256__ 1
198 #undef __UCLIBC_HAS_STDIO_BUFSIZ_512__
199 #undef __UCLIBC_HAS_STDIO_BUFSIZ_1024__
200 #undef __UCLIBC_HAS_STDIO_BUFSIZ_2048__
201 #undef __UCLIBC_HAS_STDIO_BUFSIZ_4096__
202 #undef __UCLIBC_HAS_STDIO_BUFSIZ_8192__
203 #define __UCLIBC_HAS_STDIO_BUILTIN_BUFFER_NONE__ 1
204 #undef __UCLIBC_HAS_STDIO_BUILTIN_BUFFER_4__
205 #undef __UCLIBC_HAS_STDIO_BUILTIN_BUFFER_8__
206 #undef __UCLIBC_HAS_STDIO_SHUTDOWN_ON_ABORT__
207 #define __UCLIBC_HAS_STDIO_GETC_MACRO__ 1
208 #define __UCLIBC_HAS_STDIO_PUTC_MACRO__ 1
209 #define __UCLIBC_HAS_STDIO_AUTO_RW_TRANSITION__ 1
210 #undef __UCLIBC_HAS_FOPEN_LARGEFILE_MODE__
211 #undef __UCLIBC_HAS_FOPEN_EXCLUSIVE_MODE__
212 #undef __UCLIBC_HAS_GLIBC_CUSTOM_STREAMS__
213 #undef __UCLIBC_HAS_PRINTF_M_SPEC__
214 #undef __UCLIBC_HAS_ERRNO_MESSAGES__
215 #undef __UCLIBC_HAS_SYS_ERRLIST__
216 #define __UCLIBC_HAS_SIGNUM_MESSAGES__ 1
217 #undef __UCLIBC_HAS_SYS_SIGLIST__
218 #define __UCLIBC_HAS_GNU_GETOPT__ 1
219 #define __UCLIBC_HAS_GNU_GETSUBOPT__ 1
220
221 /* Big and Tall */
222 #undef __UCLIBC_HAS_REGEX__
223 #undef __UCLIBC_HAS_REGEX_OLD__
224 #undef __UCLIBC_HAS_FNMATCH__
225 #undef __UCLIBC_HAS_FNMATCH_OLD__
226 #undef __UCLIBC_HAS_WORDEXP__
227 #undef __UCLIBC_HAS_FTW__
228 #define __UCLIBC_HAS_GLOB__ 1
229 #define __UCLIBC_HAS_GNU_GLOB__ 1
230
231 #endif
232
233 #undef __MALLOC__
234 #undef __MALLOC_SIMPLE__
235 #define __MALLOC_STANDARD__ 1
236 #undef __MALLOC_GLIBC_COMPAT__
237 #undef __UCLIBC_DYNAMIC_ATEXIT__
238 #define __UCLIBC_SUSV3_LEGACY__
239 #define __UCLIBC_SUSV3_LEGACY_MACROS__
240 #define __UCLIBC_SUSV4_LEGACY__ 1
241 #undef __HAS_SHADOW__
242 #define __UNIX98PTY_ONLY__ 1
243 #define __ASSUME_DEVPTS__ 1
244 #define __UCLIBC_HAS_TM_EXTENSIONS__ 1
245 #define __UCLIBC_HAS_TZ_CACHING__ 1
246 #undef __UCLIBC_HAS_TZ_FILE__
247 #undef __UCLIBC_HAS_TZ_FILE_READ_MANY__
248 #undef __UCLIBC_TZ_FILE_PATH__
249
250 /* Advanced Library Settings */
251 #define __UCLIBC_PWD_BUFFER_SIZE__ 256
252 #define __UCLIBC_GRP_BUFFER_SIZE__ 256
253
254 #define __UCLIBC_HAS_REALTIME__
255 #define __UCLIBC_HAS_ADVANCED_REALTIME__
256
257 /*
258  * Networking Support
259  */
260 #define __UCLIBC_HAS_IPV6__ 1
261 #undef __UCLIBC_HAS_RPC__
262 #undef __UCLIBC_USE_NETLINK__
263
264
265 /* Library Installation Options */
266 #define __SYSTEM_LDSO__ "/lib/ld-linux.so.2"
267 #define __RUNTIME_PREFIX__ "/usr/$(TARGET_ARCH)-linux-uclibc/"
268 #define __DEVEL_PREFIX__ "/usr/$(TARGET_ARCH)-linux-uclibc/usr/"
269
270 /*
271  * uClibc security related options
272  */
273 #undef __UCLIBC_SECURITY__
274
275
276 /* uClibc development/debugging options */
277 #define __CROSS_COMPILER_PREFIX__ ""
278 #define __UCLIBC_EXTRA_CFLAGS__ ""
279 #undef __DODEBUG__
280 #undef __DODEBUG_PT__
281 #define __DOSTRIP__ 1
282 #undef __DOASSERTS__
283 #define __SUPPORT_LD_DEBUG__ 1
284 #undef __SUPPORT_LD_DEBUG_EARLY__
285 //#define __SUPPORT_LD_DEBUG_EARLY__ 1
286 #define __LDSO_GNU_HASH_SUPPORT__ 1
287 #define __UCLIBC_MALLOC_DEBUGGING__ 1
288 #define __WARNINGS__ "-Wall"
289 #undef __EXTRA_WARNINGS__
290 #undef __DOMULTI__
291 #undef __UCLIBC_MJN3_ONLY__