auto-host.h revision 132751
1/* $FreeBSD: head/gnu/usr.bin/cc/cc_tools/auto-host.h 132751 2004-07-28 05:27:21Z kan $ */
2
3#ifndef __FreeBSD_version
4#include <sys/param.h>
5#include <sys/endian.h>
6#endif
7
8/* auto-host.h.  Generated by configure.  */
9/* config.in.  Generated from configure.ac by autoheader.  */
10
11/* 1234 = LIL_ENDIAN, 4321 = BIGENDIAN */
12#define BYTEORDER _BYTE_ORDER
13
14/* Define as the number of bits in a byte, if \`limits.h' doesn't. */
15/* #undef CHAR_BIT */
16
17/* Define 0/1 to force the choice for exception handling model. */
18/* #undef CONFIG_SJLJ_EXCEPTIONS */
19
20/* Define to enable the use of a default assembler. */
21/* #undef DEFAULT_ASSEMBLER */
22
23/* Define to enable the use of a default linker. */
24/* #undef DEFAULT_LINKER */
25
26/* Define if you want to use __cxa_atexit, rather than atexit, to register C++
27   destructors for local statics and global objects. This is essential for
28   fully standards-compliant handling of destructors, but requires
29   __cxa_atexit in libc. */
30#define DEFAULT_USE_CXA_ATEXIT 1
31
32/* Define to 1 if translation of program messages to the user's native
33   language is requested. */
34/* #undef ENABLE_NLS */
35
36#ifdef WANT_COMPILER_INVARIANTS
37/* #warning WANT_COMPILER_INVARIANTS turned on */
38
39/* Define if you want more run-time sanity checks. This one gets a grab bag of
40   miscellaneous but relatively cheap checks. */
41#define ENABLE_CHECKING 1
42
43/* Define if you want fold checked that it never destructs its argument. This
44   is quite expensive. */
45#define ENABLE_FOLD_CHECKING 1
46
47/* Define if you want the garbage collector to operate in maximally paranoid
48   mode, validating the entire heap and collecting garbage at every
49   opportunity. This is extremely expensive. */
50#define ENABLE_GC_ALWAYS_COLLECT 1
51
52/* Define if you want the garbage collector to do object poisoning and other
53   memory allocation checks. This is quite expensive. */
54#define ENABLE_GC_CHECKING 1
55
56/* Define if you want all operations on RTL (the basic data structure of the
57   optimizer and back end) to be checked for dynamic type safety at runtime.
58   This is quite expensive. */
59#define ENABLE_RTL_CHECKING 1
60
61/* Define if you want RTL flag accesses to be checked against the RTL codes
62   that are supported for each access macro. This is relatively cheap. */
63#define ENABLE_RTL_FLAG_CHECKING 1
64
65/* Define if you want all operations on trees (the basic data structure of the
66   front ends) to be checked for dynamic type safety at runtime. This is
67   moderately expensive. */
68#define ENABLE_TREE_CHECKING 1
69
70/* Define if you want to run subprograms and generated programs through
71   valgrind (a memory checker). This is extremely expensive. */
72/* #undef ENABLE_VALGRIND_CHECKING */
73
74#endif /* WANT_COMPILER_INVARIANTS */
75
76/* Define to 1 if installation paths should be looked up in Windows32
77   Registry. Ignored on non windows32 hosts. */
78/* #undef ENABLE_WIN32_REGISTRY */
79
80/* Define to enable detailed memory allocation stats gathering. */
81/* #undef GATHER_STATISTICS */
82
83/* Define to the type of elements in the array set by `getgroups'. Usually
84   this is either `int' or `gid_t'. */
85#define GETGROUPS_T gid_t
86
87/* Define to 1 if you have the `alphasort' function. */
88#define HAVE_ALPHASORT 1
89
90/* Define if your assembler supports dwarf2 .file/.loc directives, and
91   preserves file table indices exactly as given. */
92#define HAVE_AS_DWARF2_DEBUG_LINE 1
93
94/* Define if your assembler supports explicit relocations. */
95/* #undef HAVE_AS_EXPLICIT_RELOCS */
96
97/* Define if your assembler supports the --gdwarf2 option. */
98#define HAVE_AS_GDWARF2_DEBUG_FLAG 1
99
100/* Define true if the assembler supports '.long foo@GOTOFF'. */
101#define HAVE_AS_GOTOFF_IN_DATA 1
102
103/* Define if your assembler supports the --gstabs option. */
104#define HAVE_AS_GSTABS_DEBUG_FLAG 1
105
106/* Define if your assembler supports the Sun syntax for cmov. */
107/* #undef HAVE_AS_IX86_CMOV_SUN_SYNTAX */
108
109/* Define if your assembler supports .sleb128 and .uleb128. */
110#define HAVE_AS_LEB128 1
111
112/* Define if your assembler supports ltoffx and ldxmov relocations. */
113/* #undef HAVE_AS_LTOFFX_LDXMOV_RELOCS */
114
115/* Define if your assembler supports mfcr field. */
116/* #undef HAVE_AS_MFCRF */
117
118/* Define if your assembler supports the -no-mul-bug-abort option. */
119/* #undef HAVE_AS_NO_MUL_BUG_ABORT_OPTION */
120
121/* Define if your assembler supports offsetable %lo(). */
122/* #undef HAVE_AS_OFFSETABLE_LO10 */
123
124/* Define if your assembler supports .register. */
125/* #undef HAVE_AS_REGISTER_PSEUDO_OP */
126
127/* Define if your assembler supports -relax option. */
128/* #undef HAVE_AS_RELAX_OPTION */
129
130/* Define if your assembler and linker support unaligned PC relative relocs.
131   */
132/* #undef HAVE_AS_SPARC_UA_PCREL */
133
134/* Define if your assembler and linker support unaligned PC relative relocs
135   against hidden symbols. */
136/* #undef HAVE_AS_SPARC_UA_PCREL_HIDDEN */
137
138/* Define if your assembler supports thread-local storage. */
139#define HAVE_AS_TLS 1
140
141/* Define to 1 if you have the `atoll' function. */
142#if __FreeBSD_version >= 500027
143#define HAVE_ATOLL 1
144#endif
145
146/* Define to 1 if you have the `atoq' function. */
147/* #undef HAVE_ATOQ */
148
149/* Define to 1 if you have the `clock' function. */
150#define HAVE_CLOCK 1
151
152/* Define if <time.h> defines clock_t. */
153#define HAVE_CLOCK_T 1
154
155/* Define to 1 if we found this declaration otherwise define to 0. */
156#define HAVE_DECL_ABORT 1
157
158/* Define to 1 if we found this declaration otherwise define to 0. */
159#define HAVE_DECL_ATOF 1
160
161/* Define to 1 if we found this declaration otherwise define to 0. */
162#define HAVE_DECL_ATOL 1
163
164/* Define to 1 if we found this declaration otherwise define to 0. */
165#define HAVE_DECL_BASENAME 0
166
167/* Define to 1 if we found this declaration otherwise define to 0. */
168#define HAVE_DECL_CALLOC 1
169
170/* Define to 1 if we found this declaration otherwise define to 0. */
171#define HAVE_DECL_CLOCK 1
172
173/* Define to 1 if we found this declaration otherwise define to 0. */
174#define HAVE_DECL_ERRNO 1
175
176/* Define to 1 if we found this declaration otherwise define to 0. */
177#define HAVE_DECL_FPRINTF_UNLOCKED 0
178
179/* Define to 1 if we found this declaration otherwise define to 0. */
180#define HAVE_DECL_FPUTS_UNLOCKED 0
181
182/* Define to 1 if we found this declaration otherwise define to 0. */
183#define HAVE_DECL_FREE 1
184
185/* Define to 1 if we found this declaration otherwise define to 0. */
186#define HAVE_DECL_FWRITE_UNLOCKED 0
187
188/* Define to 1 if we found this declaration otherwise define to 0. */
189#define HAVE_DECL_GETCWD 1
190
191/* Define to 1 if we found this declaration otherwise define to 0. */
192#define HAVE_DECL_GETENV 1
193
194/* Define to 1 if we found this declaration otherwise define to 0. */
195#define HAVE_DECL_GETOPT 1
196
197/* Define to 1 if we found this declaration otherwise define to 0. */
198#define HAVE_DECL_GETRLIMIT 1
199
200/* Define to 1 if we found this declaration otherwise define to 0. */
201#define HAVE_DECL_GETRUSAGE 1
202
203/* Define to 1 if we found this declaration otherwise define to 0. */
204#define HAVE_DECL_GETWD 1
205
206/* Define to 1 if we found this declaration otherwise define to 0. */
207#define HAVE_DECL_LDGETNAME 0
208
209/* Define to 1 if we found this declaration otherwise define to 0. */
210#define HAVE_DECL_MALLOC 1
211
212/* Define to 1 if we found this declaration otherwise define to 0. */
213#define HAVE_DECL_PUTC_UNLOCKED 1
214
215/* Define to 1 if we found this declaration otherwise define to 0. */
216#define HAVE_DECL_REALLOC 1
217
218/* Define to 1 if we found this declaration otherwise define to 0. */
219#define HAVE_DECL_SBRK 1
220
221/* Define to 1 if we found this declaration otherwise define to 0. */
222#define HAVE_DECL_SETRLIMIT 1
223
224/* Define to 1 if we found this declaration otherwise define to 0. */
225#define HAVE_DECL_SNPRINTF 1
226
227/* Define to 1 if we found this declaration otherwise define to 0. */
228#define HAVE_DECL_STRSIGNAL 1
229
230/* Define to 1 if we found this declaration otherwise define to 0. */
231#define HAVE_DECL_STRSTR 1
232
233/* Define to 1 if we found this declaration otherwise define to 0. */
234#define HAVE_DECL_TIMES 1
235
236/* Define to 1 if we found this declaration otherwise define to 0. */
237#define HAVE_DECL_VASPRINTF 1
238
239/* Define to 1 if you have the <direct.h> header file. */
240/* #undef HAVE_DIRECT_H */
241
242/* Define to 1 if you have the `dup2' function. */
243#define HAVE_DUP2 1
244
245/* Define to 1 if you have the <fcntl.h> header file. */
246#define HAVE_FCNTL_H 1
247
248/* Define to 1 if you have the `fork' function. */
249#define HAVE_FORK 1
250
251/* Define to 1 if you have the `fprintf_unlocked' function. */
252/* #undef HAVE_FPRINTF_UNLOCKED */
253
254/* Define to 1 if you have the `fputc_unlocked' function. */
255/* #undef HAVE_FPUTC_UNLOCKED */
256
257/* Define to 1 if you have the `fputs_unlocked' function. */
258/* #undef HAVE_FPUTS_UNLOCKED */
259
260/* Define to 1 if you have the `fwrite_unlocked' function. */
261/* #undef HAVE_FWRITE_UNLOCKED */
262
263/* Define if your assembler supports .balign and .p2align. */
264#define HAVE_GAS_BALIGN_AND_P2ALIGN 1
265
266/* Define if your assembler uses the new HImode fild and fist notation. */
267#define HAVE_GAS_FILDS_FISTS 1
268
269/* Define if your assembler and linker support .hidden. */
270#define HAVE_GAS_HIDDEN 1
271
272/* Define if your assembler supports specifying the maximum number of bytes to
273   skip when using the GAS .p2align command. */
274#define HAVE_GAS_MAX_SKIP_P2ALIGN 1
275
276/* Define 0/1 if your assembler supports marking sections with SHF_MERGE flag.
277   */
278#define HAVE_GAS_SHF_MERGE 1
279
280/* Define if your assembler supports .subsection and .subsection -1 starts
281   emitting at the beginning of your section. */
282#define HAVE_GAS_SUBSECTION_ORDERING 1
283
284/* Define if your assembler supports .weak. */
285#define HAVE_GAS_WEAK 1
286
287/* Define to 1 if you have the `getrlimit' function. */
288#define HAVE_GETRLIMIT 1
289
290/* Define to 1 if you have the `getrusage' function. */
291#define HAVE_GETRUSAGE 1
292
293/* Define to 1 if you have the `gettimeofday' function. */
294#define HAVE_GETTIMEOFDAY 1
295
296/* Define if you have the iconv() function. */
297/* #undef HAVE_ICONV */
298
299/* Define to 1 if you have the <iconv.h> header file. */
300/* #undef HAVE_ICONV_H */
301
302/* Define .init_array/.fini_array sections are available and working. */
303/* #undef HAVE_INITFINI_ARRAY */
304
305/* Define if you have a working <inttypes.h> header file. */
306#define HAVE_INTTYPES_H 1
307
308/* Define to 1 if you have the `kill' function. */
309#define HAVE_KILL 1
310
311/* Define to 1 if you have the <langinfo.h> header file. */
312#define HAVE_LANGINFO_H 1
313
314/* Define if your <locale.h> file defines LC_MESSAGES. */
315#define HAVE_LC_MESSAGES 1
316
317/* Define to 1 if you have the <ldfcn.h> header file. */
318/* #undef HAVE_LDFCN_H */
319
320/* Define if your linker supports --as-needed and --no-as-needed options. */
321/* #undef HAVE_LD_AS_NEEDED */
322
323/* Define if your linker supports --eh-frame-hdr option. */
324#define HAVE_LD_EH_FRAME_HDR 1
325
326/* Define if your linker supports -pie option. */
327/* #undef HAVE_LD_PIE */
328
329/* Define if your linker links a mix of read-only and read-write sections into
330   a read-write section. */
331#define HAVE_LD_RO_RW_SECTION_MIXING 1
332
333/* Define to 1 if you have the <limits.h> header file. */
334#define HAVE_LIMITS_H 1
335
336/* Define to 1 if you have the <locale.h> header file. */
337#define HAVE_LOCALE_H 1
338
339/* Define if your compiler supports the \`long long' type. */
340#define HAVE_LONG_LONG 1
341
342/* Define to 1 if you have the <malloc.h> header file. */
343/* #undef HAVE_MALLOC_H */
344
345/* Define to 1 if you have the `mbstowcs' function. */
346#define HAVE_MBSTOWCS 1
347
348/* Define if valgrind's memcheck.h header is installed. */
349/* #undef HAVE_MEMCHECK_H */
350
351/* Define to 1 if you have the <memory.h> header file. */
352#define HAVE_MEMORY_H 1
353
354/* Define to 1 if you have the `mincore' function. */
355#define HAVE_MINCORE 1
356
357/* Define to 1 if you have the `mmap' function. */
358#define HAVE_MMAP 1
359
360/* Define if mmap with MAP_ANON(YMOUS) works. */
361#define HAVE_MMAP_ANON 1
362
363/* Define if mmap of /dev/zero works. */
364#define HAVE_MMAP_DEV_ZERO 1
365
366/* Define if read-only mmap of a plain file works. */
367#define HAVE_MMAP_FILE 1
368
369/* Define to 1 if you have the `nl_langinfo' function. */
370#define HAVE_NL_LANGINFO 1
371
372/* Define if printf supports "%p". */
373#define HAVE_PRINTF_PTR 1
374
375/* Define to 1 if you have the `putc_unlocked' function. */
376#define HAVE_PUTC_UNLOCKED 1
377
378/* Define to 1 if you have the `scandir' function. */
379#define HAVE_SCANDIR 1
380
381/* Define to 1 if you have the `setlocale' function. */
382#define HAVE_SETLOCALE 1
383
384/* Define to 1 if you have the `setrlimit' function. */
385#define HAVE_SETRLIMIT 1
386
387/* Define if you have a working <stdbool.h> header file. */
388#if (__FreeBSD_version >= 440003 && __FreeBSD_version < 500000) || \
389    __FreeBSD_version >= 500014
390#define HAVE_STDBOOL_H 1
391#endif
392
393/* Define to 1 if you have the <stddef.h> header file. */
394#define HAVE_STDDEF_H 1
395
396/* Define to 1 if you have the <stdint.h> header file. */
397#define HAVE_STDINT_H 1
398
399/* Define to 1 if you have the <stdlib.h> header file. */
400#define HAVE_STDLIB_H 1
401
402/* Define to 1 if you have the <strings.h> header file. */
403#define HAVE_STRINGS_H 1
404
405/* Define to 1 if you have the <string.h> header file. */
406#define HAVE_STRING_H 1
407
408/* Define to 1 if you have the `strsignal' function. */
409#define HAVE_STRSIGNAL 1
410
411/* Define if <sys/times.h> defines struct tms. */
412#define HAVE_STRUCT_TMS 1
413
414/* Define to 1 if you have the `sysconf' function. */
415#define HAVE_SYSCONF 1
416
417/* Define to 1 if you have the <sys/file.h> header file. */
418#define HAVE_SYS_FILE_H 1
419
420/* Define to 1 if you have the <sys/mman.h> header file. */
421#define HAVE_SYS_MMAN_H 1
422
423/* Define to 1 if you have the <sys/param.h> header file. */
424#define HAVE_SYS_PARAM_H 1
425
426/* Define to 1 if you have the <sys/resource.h> header file. */
427#define HAVE_SYS_RESOURCE_H 1
428
429/* Define to 1 if you have the <sys/stat.h> header file. */
430#define HAVE_SYS_STAT_H 1
431
432/* Define to 1 if you have the <sys/times.h> header file. */
433#define HAVE_SYS_TIMES_H 1
434
435/* Define to 1 if you have the <sys/time.h> header file. */
436#define HAVE_SYS_TIME_H 1
437
438/* Define to 1 if you have the <sys/types.h> header file. */
439#define HAVE_SYS_TYPES_H 1
440
441/* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */
442#define HAVE_SYS_WAIT_H 1
443
444/* Define to 1 if you have the `times' function. */
445#define HAVE_TIMES 1
446
447/* Define to 1 if you have the <time.h> header file. */
448#define HAVE_TIME_H 1
449
450/* Define if <sys/types.h> defines \`uchar'. */
451/* #undef HAVE_UCHAR */
452
453/* Define to 1 if you have the <unistd.h> header file. */
454#define HAVE_UNISTD_H 1
455
456/* Define if valgrind's valgrind/memcheck.h header is installed. */
457/* #undef HAVE_VALGRIND_MEMCHECK_H */
458
459/* Define to 1 if you have the `vfork' function. */
460#define HAVE_VFORK 1
461
462/* Define to 1 if you have the <vfork.h> header file. */
463/* #undef HAVE_VFORK_H */
464
465/* Define to 1 if you have the <wchar.h> header file. */
466#define HAVE_WCHAR_H 1
467
468/* Define to 1 if you have the `wcswidth' function. */
469#define HAVE_WCSWIDTH 1
470
471/* Define to 1 if `fork' works. */
472#define HAVE_WORKING_FORK 1
473
474/* Define this macro if mbstowcs does not crash when its first argument is
475   NULL. */
476#define HAVE_WORKING_MBSTOWCS 1
477
478/* Define to 1 if `vfork' works. */
479#define HAVE_WORKING_VFORK 1
480
481/* Define if the \`_Bool' type is built-in. */
482#define HAVE__BOOL 1
483
484/* Define if your compiler supports the \`__int64' type. */
485/* #undef HAVE___INT64 */
486
487/* Define if the host machine stores words of multi-word integers in
488   big-endian order. */
489#if _QUAD_HIGHWORD == 0
490#define HOST_WORDS_BIG_ENDIAN 1
491#endif
492
493/* Define as const if the declaration of iconv() needs const. */
494/* #undef ICONV_CONST */
495
496/* Define if host mkdir takes a single argument. */
497/* #undef MKDIR_TAKES_ONE_ARG */
498
499/* Define to 1 if HOST_WIDE_INT must be 64 bits wide (see hwint.h). */
500#define NEED_64BIT_HOST_WIDE_INT 1
501
502/* Define to 1 if your C compiler doesn't accept -c and -o together. */
503/* #undef NO_MINUS_C_MINUS_O */
504
505/* Define to the address where bug reports for this package should be sent. */
506#define PACKAGE_BUGREPORT ""
507
508/* Define to the full name of this package. */
509#define PACKAGE_NAME ""
510
511/* Define to the full name and version of this package. */
512#define PACKAGE_STRING ""
513
514/* Define to the one symbol short name of this package. */
515#define PACKAGE_TARNAME ""
516
517/* Define to the version of this package. */
518#define PACKAGE_VERSION ""
519
520/* Define to PREFIX/include if cpp should also search that directory. */
521/* #undef PREFIX_INCLUDE_DIR */
522
523/* The number of bytes in type int */
524#define SIZEOF_INT 4
525
526#if defined(__i386__) || defined(__powerpc__) || defined(__strongarm__)
527/* The number of bytes in type long */
528# define SIZEOF_LONG SIZEOF_INT
529#elif defined(__alpha__) || defined(__sparc64__) || defined(__ia64__) || defined(__amd64__)
530# define SIZEOF_LONG SIZEOF_LONG_LONG
531#else
532# error "I don't know what arch this is."
533#endif
534
535/* The number of bytes in type long long */
536#define SIZEOF_LONG_LONG 8
537
538/* The number of bytes in type short */
539#define SIZEOF_SHORT 2
540
541/* The number of bytes in type void * */
542#define SIZEOF_VOID_P SIZEOF_LONG
543
544/* The number of bytes in type __int64 */
545/* #undef SIZEOF___INT64 */
546
547/* Define to 1 if you have the ANSI C header files. */
548#define STDC_HEADERS 1
549
550/* Define if you can safely include both <string.h> and <strings.h>. */
551#define STRING_WITH_STRINGS 1
552
553/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
554#define TIME_WITH_SYS_TIME 1
555
556/* Define if your assembler mis-optimizes .eh_frame data. */
557/* #undef USE_AS_TRADITIONAL_FORMAT */
558
559/* Define if gcc should use -lunwind. */
560/* #undef USE_LIBUNWIND_EXCEPTIONS */
561
562/* Define to be the last portion of registry key on windows hosts. */
563/* #undef WIN32_REGISTRY_KEY */
564
565/* whether byteorder is bigendian */
566/* #undef WORDS_BIGENDIAN */
567
568/* Always define this when using the GNU C Library */
569/* #undef _GNU_SOURCE */
570
571/* Define to `int' if <sys/types.h> doesn't define. */
572/* #undef gid_t */
573
574/* Define as `__inline' if that's what the C compiler calls it, or to nothing
575   if it is not supported. */
576/* #undef inline */
577
578/* Define to `int' if <sys/types.h> does not define. */
579/* #undef pid_t */
580
581/* Define to \`long' if <sys/resource.h> doesn't define. */
582/* #undef rlim_t */
583
584/* Define to `int' if <sys/types.h> does not define. */
585/* #undef ssize_t */
586
587/* Define to `int' if <sys/types.h> doesn't define. */
588/* #undef uid_t */
589
590/* Define as `fork' if `vfork' does not work. */
591/* #undef vfork */
592