Go to file
Zack Weinberg 58fea6afd9 cpperror.c (v_message): Split into _cpp_begin_message and v_message macro.
* cpperror.c (v_message): Split into _cpp_begin_message and
	v_message macro.  All callers updated.
	(_cpp_begin_message): Do inhibit_errors/inhibit_warnings
	checks here.

	* cppfiles.c (cpp_syshdr_flags): New function.
	(read_include_file): Don't call cpp_output_tokens.  Call
	enter_file hook.
	* cppinit.c (dump_macros_helper): Moved to cppmain.c.
	(cpp_reader_init): Don't initialize token_buffer.  Call
	_cpp_init_internal_pragmas.
	(cpp_cleanup): Don't clear token_buffer.
	(cpp_start_read): Don't worry about output from -D processing.
	Don't call cpp_output_tokens.
	(cpp_finish): Don't dump macros here.  Don't call
	cpp_output_tokens.
	* cppmacro.c (_cpp_dump_definition): Rename
	cpp_dump_definition.  Write directly to a FILE *.
	(dump_funlike_macro): Delete.
	(dump_macro_args): New.

	* cpplex.c (TOKEN_LEN): Convert to inline function.
	(_cpp_grow_token_buffer, safe_fwrite, cpp_output_tokens,
	cpp_scan_line, _cpp_dump_list): Delete.
	(cpp_printf, cpp_output_list): New.
	(output_line_command): Don't worry about entering or leaving files.
	(cpp_scan_buffer): Just output each token as we hit it.
	(process_directive): Don't call cpp_output_tokens.
	(_cpp_glue_header_name): Don't use token_buffer.
	(output_token, dump_param_spelling): Write directly to a FILE *.

	* cpplib.c (pass_thru_directive, dump_macro_name,
	pragma_dispatch, do_pragma_gcc): Delete.
	(do_define, do_undef, parse_include, do_line, do_ident, do_pragma,
	do_pragma_poison, cpp_pop_buffer): Call the appropriate hook
	functions.
	(do_error, do_warning, pragma_dependency): Call
	_cpp_begin_message, then cpp_output_list.
	(cpp_register_pragma, cpp_register_pragma_space,
	_cpp_init_internal_pragmas): New.
	(do_pragma): Walk the pragmas table here.
	(do_pragma_once, do_pragma_poison, do_pragma_system_header,
	do_pragma_dependency): Return void.
	(do_pragma_implementation): Moved to cppmain.c.

	* cpplib.h: Update prototypes.
	 (struct cpp_reader): Remove printer, token_buffer,
	token_buffer_size, and limit.  Add struct cb, and pragmas.
	(struct cpp_printer): Remove last_id and written.
	(CPP_WRITTEN, CPP_PWRITTEN, CPP_SET_WRITTEN,
	CPP_ADJUST_WRITTEN): Delete.
	* cpphash.h: Update prototypes.
	(ufputs): New wrapper.

	* cppmain.c (cb_define, cb_undef, cb_include, cb_ident,
	cb_enter_file, cb_leave_file, cb_def_pragma): New functions.
	(main): Set up callbacks.  Register #pragma implementation.
	Dump macros from here.

From-SVN: r35415
2000-08-02 01:13:45 +00:00
INSTALL
boehm-gc configure.in (THREADS): Don't --enable-threads on IRIX <= 5.*. 2000-07-24 04:20:09 +00:00
config mh-ia64pic: New file. 2000-07-21 14:11:08 +00:00
contrib Fix name 2000-07-16 19:25:48 +00:00
etc * standards.texi, make-stds.texi: Update to FSF version of May 13. 2000-05-18 07:17:15 +00:00
gcc cpperror.c (v_message): Split into _cpp_begin_message and v_message macro. 2000-08-02 01:13:45 +00:00
include tweak 2000-07-24 13:36:49 -04:00
libchill Makefile.in (STROBJS): Get memmove.o from configure. 2000-05-31 16:54:07 -07:00
libf2c Daily bump. 2000-08-01 01:45:41 -06:00
libffi README updated for ARM 2000-05-11 18:20:33 +00:00
libiberty Fix typo. 2000-07-27 12:50:18 -06:00
libio * gen-params: Added trailing space for 'long long int' regexp. 2000-07-23 10:15:42 -06:00
libjava Component.java (toString): Implemented. 2000-07-31 05:11:49 +01:00
libobjc Added libtool support for building libobjc. 2000-07-29 19:19:43 +00:00
libstdc++ valarray_array.h (__valarray_sum): Make inline. 2000-07-17 08:20:06 +00:00
libstdc++-v3 install.html: Edit bits about requiring a special version of the autotools. 2000-08-01 18:07:23 +00:00
texinfo
zlib
.cvsignore merge with /cvs/src 2000-07-22 04:08:22 -04:00
COPYING
COPYING.LIB
ChangeLog ltconfig, ltmain.sh: Update from libtool multi-language branch. 2000-08-01 04:45:34 +00:00
MAINTAINERS Add Geoff K to the folks with global write permissions. 2000-07-26 19:28:25 -06:00
Makefile.in Makefile.in (clean-target-libgcc): Remove gcc/libgcc. 2000-07-28 02:22:17 +00:00
README
config-ml.in configure.in: Use the same cache file for all target libs. 2000-07-24 04:29:33 +00:00
config.guess config.guess: Updated to latest version. 2000-06-05 23:23:43 +00:00
config.if config.if: Tweak. 2000-05-02 00:51:59 +00:00
config.sub merge with /cvs/src 2000-07-22 04:08:22 -04:00
configure * configure (topsrcdir): Don't use dirname. 2000-07-23 11:41:56 -06:00
configure.in * configure.in (qCXX_FOR_TARGET): Use echo instead of expr. 2000-08-01 04:10:47 +00:00
djunpack.bat merge with /cvs/src 2000-07-22 04:08:22 -04:00
install-sh
libtool.m4 libtool.m4, [...]: New files from the libtool CVS tree multi-language branch. 2000-07-28 18:04:21 +00:00
ltcf-c.sh ltconfig, ltmain.sh: Update from libtool multi-language branch. 2000-08-01 04:45:34 +00:00
ltcf-cxx.sh ltconfig, ltmain.sh: Update from libtool multi-language branch. 2000-08-01 04:45:34 +00:00
ltcf-gcj.sh libtool.m4, [...]: New files from the libtool CVS tree multi-language branch. 2000-07-28 18:04:21 +00:00
ltconfig ltconfig, ltmain.sh: Update from libtool multi-language branch. 2000-08-01 04:45:34 +00:00
ltmain.sh ltconfig, ltmain.sh: Update from libtool multi-language branch. 2000-08-01 04:45:34 +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
symlink-tree * symlink-tree: Check number of arguments. 2000-07-07 07:18:48 -06:00
ylwrap

README

		   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.