Go to file
Olivier Hainque 8de8de0282 gengtype.c (srcdir_len): size_t instead of int.
2008-06-24  Olivier Hainque  <hainque@adacore.com>
            Nicolas Roche  <roche@adacore.com>

	* gengtype.c (srcdir_len): size_t instead of int.
	(get_file_realbasename): New function.  For F a filename, the real
	basename of F, with all the path components stripped.
	(get_file_srcdir_relative_path): New function.  For F a filename, the
	relative path to F from $(srcdir).
	(get_file_basename): Rewrite using get_file_srcdir_relative_path and
	get_file_realbasename.  Adjust the head comment.
	(get_prefix_langdir_index): New function. For F a filename, return the
	lang_dir_names[] relative index of the language directory that is
	a prefix in F.
	(get_file_langdir): For F a filename, return the name of the language
	directory where F is located.
	(get_file_gtfilename): New function. The gt- output file name for an
	input filename F.
	(get_output_file_with_visibility): Replace in-line computations with
	uses of get_file_gtfilename and get_prefix_langdir_index.
	* Makefile.in (GTFILES_H): Adjust to match what gengtype generates.


Co-Authored-By: Nicolas Roche <roche@adacore.com>

From-SVN: r137070
2008-06-24 13:01:11 +00:00
boehm-gc
config
contrib
fixincludes
gcc gengtype.c (srcdir_len): size_t instead of int. 2008-06-24 13:01:11 +00:00
gnattools
include libiberty.h (XALLOCA, [...]): New. 2008-06-24 01:42:31 +00:00
INSTALL
intl
libada
libcpp
libdecnumber
libffi
libgcc
libgfortran
libgomp re PR c++/36523 (OpenMP task construct fails to instantiate copy constructor) 2008-06-20 04:18:07 +02:00
libiberty Adjust strsignal to POSIX 200x prototype. 2008-06-19 15:08:53 +00:00
libjava
libmudflap
libobjc
libssp
libstdc++-v3 2008-06-24 Paolo Carlini <paolo.carlini@oracle.com> 2008-06-24 12:11:23 +00:00
maintainer-scripts
zlib
ABOUT-NLS
ChangeLog
ChangeLog.tree-ssa
compile
config-ml.in
config.guess
config.rpath
config.sub
configure
configure.ac
COPYING
COPYING3
COPYING3.LIB
COPYING.LIB
depcomp
install-sh
libtool-ldflags
libtool.m4
lt~obsolete.m4
ltgcc.m4
ltmain.sh
ltoptions.m4
ltsugar.m4
ltversion.m4
MAINTAINERS
Makefile.def
Makefile.in
Makefile.tpl
missing
mkdep
mkinstalldirs
move-if-change
README
README.SCO
symlink-tree
ylwrap

This directory contains the GNU Compiler Collection (GCC).

The GNU Compiler Collection is free software.  See the file COPYING
for copying permission.  The manuals, and some of the runtime
libraries, are under different terms; see the individual source files
for details.

The directory INSTALL contains copies of the installation information
as HTML and plain text.  The source of this information is
gcc/doc/install.texi.  The installation information includes details
of what is included in the GCC sources and what files GCC installs.

See the file gcc/doc/gcc.texi (together with other files that it
includes) for usage and porting information.  An online readable
version of the manual is in the files gcc/doc/gcc.info*.

See http://gcc.gnu.org/bugs.html for how to report bugs usefully.