Update for GCC 3.3.1-pre.

This commit is contained in:
Alexander Kabaev 2003-07-11 05:33:24 +00:00
parent e9f8ce2eea
commit 487ee93a17
4 changed files with 186 additions and 70 deletions

View File

@ -2,7 +2,8 @@
// Predefined symbols and macros -*- C++ -*-
// Copyright (C) 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003
// Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
@ -36,10 +37,9 @@
#include <bits/os_defines.h>
// The current version of the C++ library in compressed ISO date format.
#define __GLIBCPP__ 20030205
#define __GLIBCPP__ 20030513
// This is necessary until GCC supports separate template
// compilation.
// This is necessary until GCC supports separate template compilation.
#define _GLIBCPP_NO_TEMPLATE_EXPORT 1
// This is a hack around not having either pre-compiled headers or
@ -51,6 +51,16 @@
// by the compiler, but instead instantiated into the library binary.
#define _GLIBCPP_FULLY_COMPLIANT_HEADERS 1
// Allow use of the GNU syntax extension, "extern template." This
// extension is fully documented in the g++ manual, but in a nutshell,
// it inhibits all implicit instantiations and is used throughout the
// library to avoid multiple weak definitions for required types that
// are already explicitly instantiated in the library binary. This
// substantially reduces the binary size of resulting executables.
#ifndef _GLIBCPP_EXTERN_TEMPLATE
#define _GLIBCPP_EXTERN_TEMPLATE 1
#endif
// To enable older, ARM-style iostreams and other anachronisms use this.
//#define _GLIBCPP_DEPRECATED 1
@ -76,13 +86,15 @@
// so, please report any possible issues to libstdc++@gcc.gnu.org .
// Do not define __USE_MALLOC on the command line. Enforce it here:
#ifdef __USE_MALLOC
#error __USE_MALLOC should only be defined within \
libstdc++-v3/include/bits/c++config before full recompilation of the library.
#error __USE_MALLOC should never be defined. Read the release notes.
#endif
// Create a boolean flag to be used to determine if --fast-math is set.
#ifdef __FAST_MATH__
#define _GLIBCPP_FAST_MATH 1
#else
#define _GLIBCPP_FAST_MATH 0
#endif
// Define __USE_MALLOC after this point in the file in order to aid debugging
// or globally change allocation policy. This breaks the ABI, thus
// completely recompile the library. A patch to better support
// changing the global allocator policy would be probably be accepted.
// The remainder of the prewritten config is mostly automatic; all the
// user hooks are listed above.
@ -129,6 +141,18 @@ libstdc++-v3/include/bits/c++config before full recompilation of the library.
// Define if gthr-default.h exists (meaning that threading support is enabled).
#define _GLIBCPP_HAVE_GTHR_DEFAULT 1
// Define if drand48 exists.
#define _GLIBCPP_HAVE_DRAND48 1
// Define if getpagesize exists.
#define _GLIBCPP_HAVE_GETPAGESIZE 1
// Define if setenv exists.
#define _GLIBCPP_HAVE_SETENV 1
// Define if sigsetjmp exists.
#define _GLIBCPP_HAVE_SIGSETJMP 1
// Define if mbstate_t exists in wchar.h.
#define _GLIBCPP_HAVE_MBSTATE_T 1
@ -157,13 +181,13 @@ libstdc++-v3/include/bits/c++config before full recompilation of the library.
#define _GLIBCPP_HAVE___BUILTIN_LABS 1
// Define if the compiler/host combination has __builtin_cos
/* #undef _GLIBCPP_HAVE___BUILTIN_COS */
#define _GLIBCPP_HAVE___BUILTIN_COS 1
// Define if the compiler/host combination has __builtin_cosf
/* #undef _GLIBCPP_HAVE___BUILTIN_COSF */
#define _GLIBCPP_HAVE___BUILTIN_COSF 1
// Define if the compiler/host combination has __builtin_cosl
/* #undef _GLIBCPP_HAVE___BUILTIN_COSL */
#define _GLIBCPP_HAVE___BUILTIN_COSL 1
// Define if the compiler/host combination has __builtin_fabs
#define _GLIBCPP_HAVE___BUILTIN_FABS 1
@ -175,13 +199,13 @@ libstdc++-v3/include/bits/c++config before full recompilation of the library.
#define _GLIBCPP_HAVE___BUILTIN_FABSL 1
// Define if the compiler/host combination has __builtin_sin
/* #undef _GLIBCPP_HAVE___BUILTIN_SIN */
#define _GLIBCPP_HAVE___BUILTIN_SIN 1
// Define if the compiler/host combination has __builtin_sinf
/* #undef _GLIBCPP_HAVE___BUILTIN_SINF */
#define _GLIBCPP_HAVE___BUILTIN_SINF 1
// Define if the compiler/host combination has __builtin_sinl
/* #undef _GLIBCPP_HAVE___BUILTIN_SINL */
#define _GLIBCPP_HAVE___BUILTIN_SINL 1
// Define if the compiler/host combination has __builtin_sqrt
/* #undef _GLIBCPP_HAVE___BUILTIN_SQRT */
@ -192,6 +216,15 @@ libstdc++-v3/include/bits/c++config before full recompilation of the library.
// Define if the compiler/host combination has __builtin_sqrtl
/* #undef _GLIBCPP_HAVE___BUILTIN_SQRTL */
// Define if poll is available in <poll.h>.
#define _GLIBCPP_HAVE_POLL 1
// Define if S_ISREG (Posix) is available in <sys/stat.h>.
#define _GLIBCPP_HAVE_S_ISREG 1
// Define if S_IFREG is available in <sys/stat.h>.
/* #undef _GLIBCPP_HAVE_S_IFREG */
// Define if LC_MESSAGES is available in <locale.h>.
#define _GLIBCPP_HAVE_LC_MESSAGES 1
@ -822,6 +855,12 @@ libstdc++-v3/include/bits/c++config before full recompilation of the library.
/* Define if you have the <string.h> header file. */
#define _GLIBCPP_HAVE_STRING_H 1
/* Define if you have the <sys/filio.h> header file. */
#define _GLIBCPP_HAVE_SYS_FILIO_H 1
/* Define if you have the <sys/ioctl.h> header file. */
#define _GLIBCPP_HAVE_SYS_IOCTL_H 1
/* Define if you have the <sys/isa_defs.h> header file. */
/* #undef _GLIBCPP_HAVE_SYS_ISA_DEFS_H */
@ -834,6 +873,9 @@ libstdc++-v3/include/bits/c++config before full recompilation of the library.
/* Define if you have the <sys/stat.h> header file. */
#define _GLIBCPP_HAVE_SYS_STAT_H 1
/* Define if you have the <sys/time.h> header file. */
#define _GLIBCPP_HAVE_SYS_TIME_H 1
/* Define if you have the <sys/types.h> header file. */
#define _GLIBCPP_HAVE_SYS_TYPES_H 1
@ -853,7 +895,7 @@ libstdc++-v3/include/bits/c++config before full recompilation of the library.
#define _GLIBCPP_PACKAGE "libstdc++"
/* Version number of package */
#define _GLIBCPP_VERSION "3.2.2"
#define _GLIBCPP_VERSION "3.3.1"
/* Define if the compiler is configured for setjmp/longjmp exceptions. */
/* #undef _GLIBCPP_SJLJ_EXCEPTIONS */

View File

@ -41,6 +41,18 @@
// Define if gthr-default.h exists (meaning that threading support is enabled).
#define HAVE_GTHR_DEFAULT 1
// Define if drand48 exists.
#define HAVE_DRAND48 1
// Define if getpagesize exists.
#define HAVE_GETPAGESIZE 1
// Define if setenv exists.
#define HAVE_SETENV 1
// Define if sigsetjmp exists.
#define HAVE_SIGSETJMP 1
// Define if mbstate_t exists in wchar.h.
#define HAVE_MBSTATE_T 1
@ -69,13 +81,13 @@
#define HAVE___BUILTIN_LABS 1
// Define if the compiler/host combination has __builtin_cos
/* #undef HAVE___BUILTIN_COS */
#define HAVE___BUILTIN_COS 1
// Define if the compiler/host combination has __builtin_cosf
/* #undef HAVE___BUILTIN_COSF */
#define HAVE___BUILTIN_COSF 1
// Define if the compiler/host combination has __builtin_cosl
/* #undef HAVE___BUILTIN_COSL */
#define HAVE___BUILTIN_COSL 1
// Define if the compiler/host combination has __builtin_fabs
#define HAVE___BUILTIN_FABS 1
@ -87,13 +99,13 @@
#define HAVE___BUILTIN_FABSL 1
// Define if the compiler/host combination has __builtin_sin
/* #undef HAVE___BUILTIN_SIN */
#define HAVE___BUILTIN_SIN 1
// Define if the compiler/host combination has __builtin_sinf
/* #undef HAVE___BUILTIN_SINF */
#define HAVE___BUILTIN_SINF 1
// Define if the compiler/host combination has __builtin_sinl
/* #undef HAVE___BUILTIN_SINL */
#define HAVE___BUILTIN_SINL 1
// Define if the compiler/host combination has __builtin_sqrt
/* #undef HAVE___BUILTIN_SQRT */
@ -104,6 +116,15 @@
// Define if the compiler/host combination has __builtin_sqrtl
/* #undef HAVE___BUILTIN_SQRTL */
// Define if poll is available in <poll.h>.
#define HAVE_POLL 1
// Define if S_ISREG (Posix) is available in <sys/stat.h>.
#define HAVE_S_ISREG 1
// Define if S_IFREG is available in <sys/stat.h>.
/* #undef HAVE_S_IFREG */
// Define if LC_MESSAGES is available in <locale.h>.
#define HAVE_LC_MESSAGES 1
@ -734,6 +755,12 @@
/* Define if you have the <string.h> header file. */
#define HAVE_STRING_H 1
/* Define if you have the <sys/filio.h> header file. */
#define HAVE_SYS_FILIO_H 1
/* Define if you have the <sys/ioctl.h> header file. */
#define HAVE_SYS_IOCTL_H 1
/* Define if you have the <sys/isa_defs.h> header file. */
/* #undef HAVE_SYS_ISA_DEFS_H */
@ -746,6 +773,9 @@
/* Define if you have the <sys/stat.h> header file. */
#define HAVE_SYS_STAT_H 1
/* Define if you have the <sys/time.h> header file. */
#define HAVE_SYS_TIME_H 1
/* Define if you have the <sys/types.h> header file. */
#define HAVE_SYS_TYPES_H 1
@ -765,7 +795,7 @@
#define PACKAGE "libstdc++"
/* Version number of package */
#define VERSION "3.2.2"
#define VERSION "3.3.1"
/* Define if the compiler is configured for setjmp/longjmp exceptions. */
/* #undef _GLIBCPP_SJLJ_EXCEPTIONS */

View File

@ -3,7 +3,7 @@
#include <sys/param.h>
/* auto-host.h. Generated automatically by configure. */
/* config.in. Generated automatically from configure.in by autoheader 2.13. */
/* config.in. Generated automatically from configure.in by autoheader. */
/* Define if using alloca.c. */
/* #undef C_ALLOCA */
@ -87,7 +87,7 @@
/* #undef ssize_t */
/* Define if cpp should also search $prefix/include. */
/* #define PREFIX_INCLUDE_DIR "NONE/include" */
/* #undef PREFIX_INCLUDE_DIR */
/* Define if you have the __argz_count function. */
/* #undef HAVE___ARGZ_COUNT */
@ -98,6 +98,9 @@
/* Define if you have the __argz_stringify function. */
/* #undef HAVE___ARGZ_STRINGIFY */
/* Define if you have the alphasort function. */
#define HAVE_ALPHASORT 1
/* Define if you have the atoll function. */
#if __FreeBSD_version >= 500027
/* FreeBSD didn't always have atoll(3). */
@ -117,7 +120,7 @@
#define HAVE_DUP2 1
/* Define if you have the feof_unlocked function. */
/* #undef HAVE_FEOF_UNLOCKED */
#define HAVE_FEOF_UNLOCKED 1
/* Define if you have the fgets_unlocked function. */
/* #undef HAVE_FGETS_UNLOCKED */
@ -174,11 +177,14 @@
#define HAVE_NL_LANGINFO 1
/* Define if you have the putc_unlocked function. */
/* #undef HAVE_PUTC_UNLOCKED */
#define HAVE_PUTC_UNLOCKED 1
/* Define if you have the putenv function. */
#define HAVE_PUTENV 1
/* Define if you have the scandir function. */
#define HAVE_SCANDIR 1
/* Define if you have the setenv function. */
#define HAVE_SETENV 1
@ -281,38 +287,6 @@
/* Define to enable the use of a default assembler. */
/* #undef DEFAULT_ASSEMBLER */
#ifdef WANT_COMPILER_INVARIANTS
//#warning WANT_COMPILER_INVARIANTS turned on
/* Define if you want more run-time sanity checks. This one gets a grab
bag of miscellaneous but relatively cheap checks. */
#define ENABLE_CHECKING 1
/* Define if you want all operations on trees (the basic data
structure of the front ends) to be checked for dynamic type safety
at runtime. This is moderately expensive. */
#define ENABLE_TREE_CHECKING 1
/* Define if you want all operations on RTL (the basic data structure
of the optimizer and back end) to be checked for dynamic type safety
at runtime. This is quite expensive. */
#define ENABLE_RTL_CHECKING 1
/* Define if you want the garbage collector to do object poisoning and
other memory allocation checks. This is quite expensive. */
#define ENABLE_GC_CHECKING 1
/* Define if you want the garbage collector to operate in maximally
paranoid mode, validating the entire heap and collecting garbage at
every opportunity. This is extremely expensive. */
#define ENABLE_GC_ALWAYS_COLLECT 1
#endif /* WANT_COMPILER_INVARIANTS */
/* Define if you want the C and C++ compilers to support multibyte
character sets for source code. */
/* #undef MULTIBYTE_CHARS */
/* Define if your compiler understands volatile. */
#define HAVE_VOLATILE 1
@ -326,7 +300,7 @@
/* #undef HAVE___INT64 */
/* Define if the `_Bool' type is built-in. */
/* #undef HAVE__BOOL */
#define HAVE__BOOL 1
/* The number of bytes in type short */
#define SIZEOF_SHORT 2
@ -353,6 +327,53 @@
/* Define if the host execution character set is EBCDIC. */
/* #undef HOST_EBCDIC */
#ifdef WANT_COMPILER_INVARIANTS
//#warning WANT_COMPILER_INVARIANTS turned on
/* Define if you want more run-time sanity checks. This one gets a grab
bag of miscellaneous but relatively cheap checks. */
#define ENABLE_CHECKING 1
/* Define if you want all operations on trees (the basic data
structure of the front ends) to be checked for dynamic type safety
at runtime. This is moderately expensive. */
#define ENABLE_TREE_CHECKING 1
/* Define if you want all operations on RTL (the basic data structure
of the optimizer and back end) to be checked for dynamic type safety
at runtime. This is quite expensive. */
#define ENABLE_RTL_CHECKING 1
/* Define if you want RTL flag accesses to be checked against the RTL
codes that are supported for each access macro. This is relatively
cheap. */
#define ENABLE_RTL_FLAG_CHECKING 1
/* Define if you want the garbage collector to do object poisoning and
other memory allocation checks. This is quite expensive. */
#define ENABLE_GC_CHECKING 1
/* Define if you want the garbage collector to operate in maximally
paranoid mode, validating the entire heap and collecting garbage at
every opportunity. This is extremely expensive. */
#define ENABLE_GC_ALWAYS_COLLECT 1
/* Define if you want to run subprograms and generated programs
through valgrind (a memory checker). This is extremely expensive. */
/* #undef ENABLE_VALGRIND_CHECKING */
#endif /* WANT_COMPILER_INVARIANTS */
/* Define if you want to use __cxa_atexit, rather than atexit, to
register C++ destructors for local statics and global objects.
This is essential for fully standards-compliant handling of
destructors, but requires __cxa_atexit in libc. */
/* #undef DEFAULT_USE_CXA_ATEXIT */
/* Define if you want the C and C++ compilers to support multibyte
character sets for source code. */
/* #undef MULTIBYTE_CHARS */
/* Always define this when using the GNU C Library */
/* #undef _GNU_SOURCE */
@ -446,6 +467,9 @@
/* Define to 1 if we found this declaration otherwise define to 0. */
#define HAVE_DECL_ERRNO 1
/* Define to 1 if we found this declaration otherwise define to 0. */
#define HAVE_DECL_VASPRINTF 1
/* Define to 1 if we found this declaration otherwise define to 0. */
#define HAVE_DECL_MALLOC 1
@ -476,6 +500,9 @@
/* Define to 1 if we found this declaration otherwise define to 0. */
#define HAVE_DECL_GETRUSAGE 1
/* Define to `long' if <sys/resource.h> doesn't define. */
/* #undef rlim_t */
/* Define to 1 if we found this declaration otherwise define to 0. */
#define HAVE_DECL_TIMES 1
@ -485,6 +512,9 @@
/* Define if <time.h> defines clock_t. */
#define HAVE_CLOCK_T 1
/* Define .init_array/.fini_array sections are available and working. */
/* #undef HAVE_INITFINI_ARRAY */
/* Define if host mkdir takes a single argument. */
/* #undef MKDIR_TAKES_ONE_ARG */
@ -502,7 +532,7 @@
/* Define to 1 if translation of program messages to the user's native language
is requested. */
/* #define ENABLE_NLS 1 */
/* #undef ENABLE_NLS */
/* Define if you have the <libintl.h> header file. */
/* #undef HAVE_LIBINTL_H */
@ -512,7 +542,7 @@
/* Define to use the libintl included with this package instead of any
version in the system libraries. */
/* #define USE_INCLUDED_LIBINTL 1 */
/* #undef USE_INCLUDED_LIBINTL */
/* Define to 1 if installation paths should be looked up in Windows32
Registry. Ignored on non windows32 hosts. */
@ -538,10 +568,11 @@
/* #undef USE_AS_TRADITIONAL_FORMAT */
/* Define if your assembler supports marking sections with SHF_MERGE flag. */
/* XXX:DEO new; caused Peter IA-64 trouble until he adjusted
sys/boot/efi/libefi/arch/ia64/ldscript.ia64. */
#define HAVE_GAS_SHF_MERGE 1
/* Define if your assembler supports thread-local storage. */
#define HAVE_AS_TLS 1
/* Define if your assembler supports explicit relocations. */
/* #undef HAVE_AS_EXPLICIT_RELOCS */
@ -554,8 +585,8 @@
/* Define if your assembler and linker support unaligned PC relative relocs. */
/* #undef HAVE_AS_SPARC_UA_PCREL */
/* Define if the assembler supports 64bit sparc. */
/* #undef AS_SPARC64_FLAG */
/* Define if your assembler and linker support unaligned PC relative relocs against hidden symbols. */
/* #undef HAVE_AS_SPARC_UA_PCREL_HIDDEN */
/* Define if your assembler supports offsetable %lo(). */
/* #undef HAVE_AS_OFFSETABLE_LO10 */
@ -563,9 +594,12 @@
/* Define true if the assembler supports '.long foo@GOTOFF'. */
#define HAVE_AS_GOTOFF_IN_DATA 1
/* Define if your assembler supports ltoffx and ldxmov relocations. */
/* #undef HAVE_AS_LTOFFX_LDXMOV_RELOCS */
/* Define if your assembler supports dwarf2 .file/.loc directives,
and preserves file table indices exactly as given. */
/* #undef HAVE_AS_DWARF2_DEBUG_LINE */
#define HAVE_AS_DWARF2_DEBUG_LINE 1
/* Define if your assembler supports the --gdwarf2 option. */
#define HAVE_AS_GDWARF2_DEBUG_FLAG 1
@ -573,12 +607,22 @@
/* Define if your assembler supports the --gstabs option. */
#define HAVE_AS_GSTABS_DEBUG_FLAG 1
/* Define if your linker links a mix of read-only
and read-write sections into a read-write section. */
#define HAVE_LD_RO_RW_SECTION_MIXING 1
/* Define if your linker supports --eh-frame-hdr option. */
#define HAVE_LD_EH_FRAME_HDR 1
/* Define if your MIPS libgloss linker scripts consistently include STARTUP directives. */
/* #undef HAVE_MIPS_LIBGLOSS_STARTUP_DIRECTIVES */
/* Define 0/1 to force the choice for exception handling model. */
/* #undef CONFIG_SJLJ_EXCEPTIONS */
/* Define if gcc should use -lunwind. */
/* #undef USE_LIBUNWIND_EXCEPTIONS */
/* Bison unconditionally undefines `const' if neither `__STDC__' nor
__cplusplus are defined. That's a problem since we use `const' in

View File

@ -14,8 +14,8 @@
#undef LOCAL_INCLUDE_DIR /* We don't wish to support one. */
/* Look for the include files in the system-defined places. */
#define GPLUSPLUS_INCLUDE_DIR PREFIX"/include/g++"
#define GPLUSPLUS_BACKWARD_INCLUDE_DIR PREFIX"/include/g++/backward"
#define GPLUSPLUS_INCLUDE_DIR PREFIX"/include/c++/3.3"
#define GPLUSPLUS_BACKWARD_INCLUDE_DIR PREFIX"/include/c++/3.3/backward"
#define GCC_INCLUDE_DIR PREFIX"/include"
#ifdef CROSS_COMPILE
#define CROSS_INCLUDE_DIR PREFIX"/include"