Go to file
Benjamin Kosnik 1792c91ce6 Self-compile with shadow headers.
2000-10-02  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>

	Self-compile with shadow headers.
	* acconfig.h (_GLIBCPP_USE_SHADOW_HEADERS): Define. Eventually,
	like _GLIBCPP_USE_NAMESPACES before it, this macro will die when
	it becomes the default way the library is built.
	* acinclude.m4 (GLIBCPP_ENABLE_SHADOW): New macro.
	* config/gnu-linux/bits/ctype_base.h (ctype_base): Use it.
	* config/gnu-linux/ctype.cc (ctype): Use it.

	* src/localename.cc (locale::_Impl::_M_replace_categories): Remove
	call to assert.
	* src/locale.cc: Explicitly cast mbstate_t to void* in calls to
	memset. This should not be necessary, but an ambiguous overload
	with it in.

	* shadow/bits/std_cwchar.h: Fix.
	* shadow/wchar.h: Fix.

	* config/gnu-linux/bits/ctype_base.h (ctype_base): Inject ctype
	enums into namespace std:: for ctype_base enum. Other OS types
	will have to do this as well.
	* config/gnu-linux/ctype.cc (ctype): Inject ctype data into
	namespace std, in particular __ctype_toupper, __ctype_tolower,
	__ctype_b.

	* shadow/iolibio.h: New file.
	* shadow/bits/wrap_iolibio.h: New file.
	* shadow/libioP.h: New file.
	* shadow/bits/wrap_libioP.h: New file.
	* shadow/bits/wrap_fcntl.h: New file.
	* shadow/fcntl.h: New file.
	* shadow/iconv.h: New file. Inject iconv names into the global
	namespace, unmangled for the moment.
	* shadow/bits/wrap_iconv.h: New file.
	* shadow/unistd.h: Remove. Useless.
	* shadow/bits/wrap_unistd.h: Remove.

	* src/Makefile.am: Take out machine-ansi.h, add fcntl.h unistd.h.
	* src/Makefile.in: Regenerate.

	* config/c_io_libio.h (_IO_codecvt): Change to normal C++ decl.

	* shadow/libio.h: Fix.
	* shadow/bits/wrap_libio.h: Fix.

	* shadow/bits/std_clocale.h: Remove typedef struct construct,
	which will not compile.
	* shadow/bits/std_ctime.h: Same.

	* shadow/pthread.h: New file. Put pthreads types and functions
	into global scope, which is probably not the correct long-term
	solution but has to be done at the moment before libio wrappers
	can even be started.
	* shadow/bits/wrap_pthread.h: New file.

	* bits/std_ios.h: Formatting tweak.
	* shadow/bits/std_cstdio.h: Format. Remove extraneous bits.

	* acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES): Add -Werror to
	tests for compiler features.
	* aclocal.m4: Regenerate.
	* configure: Regenerate.

	* config/c_io_libio.cc: Remove fcntl.h include, as SEEK_SET
	redefined.
	* libio/libioP.h: Comment out fcntl.h include.

	* shadow/math.h: Add in float and long declarations, as per ISO C9X.

	* bits/c++config: Define _ISOC99_SOURCE.

	* acinclude.m4 (GLIBCPP_ENABLE_SHADOW): Add -fno-builtins to
	CSHADOWFLAGS, as well as _ISOC99_SOURCE.
	* aclocal.m4: Regenerate.
	* configure: Regenerate.
	* src/Makefile.am (CSHADOW_INCLUDES): Enable, again.
	(CSHADOW_INCLUDES): Add -I$(top_srcdir)/std before shadow include dir.
	(CXXCOMPILE): Remove $(DEFS), which searches $(top_srcdir) before
	std or shadow directories.
	(LTCXXCOMPILE): Same.
	(INCLUDES): Add $(top_builddir) before $(top_srcdir).
	(AC_CXXFLAGS): Add CSHADOWFLAGS.
	* src/Makefile.in: Regenerate.

	* src/complex.cc (FCT): Change ::name to name.
	* src/complexl.cc (FCT): Same. Use _GLIBCPP_USE_LONG_LONG here.
	* src/complexf.cc (FCT): Same.

	* src/complexf.cc: Remove FCT define, as things are properly
	overloaded in the std namespace with the shadow headers.
	* src/complexl.cc: Same.
	* src/complex.cc: Same.

From-SVN: r36706
2000-10-04 03:09:19 +00:00
boehm-gc configure.in: Define GC_GCJ_SUPPORT. 2000-09-30 10:54:21 +01:00
config * config/mt-aix43 (NM_FOR_TARGET): Add -B bsd-style flag. 2000-09-26 15:57:08 -04:00
contrib gcc_update (touch_files): Add some informative output. 2000-09-28 11:24:18 +00:00
etc
gcc configure.in (ia64-linux): Add ia64/t-glibc. 2000-10-03 20:08:50 -07:00
include splay-tree.h (splay_tree_predecessor): Declare. 2000-09-10 21:28:21 +00:00
INSTALL * INSTALL/README: egcs -> GCC update. 2000-09-18 15:38:48 +00:00
libchill
libf2c Daily bump. 2000-10-03 01:45:08 -06:00
libffi ltconfig, [...]: Updated from libtool multi-language branch, to work around Solaris' /bin/sh bug. 2000-09-30 06:11:54 +00:00
libiberty c-decl.c (c_expand_body): Don't generate RTL if flag_syntax_only. 2000-10-01 19:19:30 +00:00
libio stdstreams.cc: Include <libio.h>, not "libio.h". 2000-09-23 17:01:47 +00:00
libjava Updated ChangeLog to reflect patch credit 2000-10-03 18:57:21 +00:00
libobjc Move statement-tree facilities from C++ to C front-end. 2000-09-07 01:36:11 +00:00
libstdc++ configure.in: Add AIX multithread support fragment. 2000-09-19 16:36:39 -04:00
libstdc++-v3 Self-compile with shadow headers. 2000-10-04 03:09:19 +00:00
texinfo
zlib configure.in (multilib): Enable by default only for target. 2000-09-06 19:13:01 +00:00
.cvsignore merge with /cvs/src 2000-07-22 04:08:22 -04:00
ChangeLog Makefile.in (DEVO_SUPPORT): Added gettext.m4, libtool.m4, ltcf-c.sh, ltcf-cxx.sh and ltcf-gcj.sh. 2000-09-30 06:20:24 +00:00
config-ml.in config-ml.in (CC, CXX): Avoid trailing whitespace. 2000-08-22 05:02:48 +00:00
config.guess Checked in for recognition of x86_64 2000-09-05 10:33:51 +00:00
config.if
config.sub Checked in for recognition of x86_64 2000-09-05 10:33:51 +00:00
configure top level: 2000-08-14 18:08:46 +00:00
configure.in configure.in: Do not build byacc for hppa64. 2000-09-13 11:11:04 -06:00
COPYING
COPYING.LIB
djunpack.bat merge with /cvs/src 2000-07-22 04:08:22 -04:00
install-sh
libtool.m4 ltconfig, [...]: Updated from libtool multi-language branch, to work around Solaris' /bin/sh bug. 2000-09-30 06:02:57 +00:00
ltcf-c.sh ltconfig, [...]: Updated from libtool multi-language branch. 2000-09-06 13:59:29 +00:00
ltcf-cxx.sh ltconfig, [...]: Updated from libtool multi-language branch, to work around Solaris' /bin/sh bug. 2000-09-30 06:02:57 +00:00
ltcf-gcj.sh ltconfig, [...]: Updated from libtool multi-language branch. 2000-09-06 13:59:29 +00:00
ltconfig ltconfig, [...]: Updated from libtool multi-language branch, to work around Solaris' /bin/sh bug. 2000-09-30 06:02:57 +00:00
ltmain.sh ltconfig, [...]: Updated from libtool multi-language branch, to work around Solaris' /bin/sh bug. 2000-09-30 06:02:57 +00:00
MAINTAINERS * MAINTAINERS: Add self as cpplib co-maintainer. 2000-09-25 18:48:45 +00:00
Makefile.in Makefile.in (DEVO_SUPPORT): Added gettext.m4, libtool.m4, ltcf-c.sh, ltcf-cxx.sh and ltcf-gcj.sh. 2000-09-30 06:20:24 +00:00
missing merge with /cvs/src 2000-07-22 04:08:22 -04:00
mkdep merge with /cvs/src 2000-07-22 04:08:22 -04:00
mkinstalldirs
move-if-change
README
symlink-tree
ylwrap

		   README for GNU development tools

This directory contains various GNU compilers, assemblers, linkers, 
debuggers, etc., plus their support routines, definitions, and documentation.


Check the INSTALL directory for detailed configuration and installation
instructions.


Much of the code and documentation enclosed is copyright by
the Free Software Foundation, Inc.  See the file COPYING or
COPYING.LIB in the various directories, for a description of the
GNU General Public License terms under which you can copy the files.

REPORTING BUGS: Again, see gdb/README, binutils/README, etc., for info
on where and how to report problems.