mirror of git://gcc.gnu.org/git/gcc.git
gcc-version.m4: Delete.
config: * gcc-version.m4: Delete. fastjar: * Makefile.am (fastjar_TEXINFOS): Add gcc-vers.texi. (BASEVER, DEVPHASE): New variables. (POD2MAN): Adjust setting of --release option. (fastjar.1, grepjar.1, gcc-vers.texi): New rules. * Makefile.in: Regenerate. * configure.ac: Do not invoke TL_AC_GCC_VERSION. * aclocal.m4, configure: Regenerate. gcc: * BASE-VER, DATESTAMP, DEV-PHASE: New files. * Makefile.in (gcc_version, gcc_version_trigger, ): Delete. (BASEVER, DEVPHASE, DATESTAMP, BASEVER_c, DEVPHASE_c, DATESTAMP_c) (BASEVER_s, DEVPHASE_s, DATESTAMP_s): New variables. (version): Define using $(BASEVER_c). (Makefile, config.status, build/gcov-iov.o): No longer depends on version.c. (version.o): Depend on version files; add custom generation command. (prefix.o): Define BASEVER on command line. (s-iov): Depend on version files; adjust command. (TEXI_CPP_FILES, TEX_IGCC_FILES, TEXI_GCCINT_FILES, TEXI_CPPINT_FILES): Add gcc-vers.texi. (gcc-vers.texi): New rule. (doc/%.info, doc/%.dvi): Add -I . to command line. (doc/gccinstall.dvi): Likewise. (PACKAGE): Delete. All uses replaced with "gcc". * aclocal.m4: Do not include gcc-version.m4. * configure.ac: Do not invoke TL_AC_GCC_VERSION. Do not AC_SUBST nor AC_DEFINE PACKAGE or VERSION. Set is_release based on contents of DEV-PHASE. Set gcc_version based on contents of BASE-VER. Define WIN32_REGISTRY_KEY only if the user overrode the default. * config.in, configure: Regenerate. * gccbug.in: Determine version of GCC in use at runtime. * gcov-iov.c: Get version number and development phase from command line, not by including version.c. * intl.c: Replace all uses of PACKAGE with "gcc". * libada-mk.in: Delete unused "gcc_version" variable. * prefix.c: Default WIN32_REGISTRY_KEY to BASEVER. * version.c: (VERSUFFIX): New hook for redistributors; adjust commentary to match. (version_string): Put together from pieces. * config/alpha/x-vms: Do not use $(gcc_version). * config/i386/t-nwld: Likewise. * doc/include/gcc-common.texi: Include gcc-vers.texi for version-GCC and DEVELOPMENT. gcc/ada: * Make-lang.in (doc/gnat_ugn_unw.info, doc/gnat_rm.info) (doc/gnat_ugn_unw.dvi, doc/gnat_rm.dvi): Add gcc-vers.texi to dependencies. gcc/fortran: * Make-lang.in (GFORTRAN_TEXI): Add gcc-vers.texi. gcc/java: * Make-lang.in (TEXI_JAVA_FILES): Add gcc-vers.texi. gcc/treelang: * Make-lang.in (TEXI_TREELANG_FILES): Add gcc-vers.texi. libstdc++-v3: * include/Makefile.am (c++config.h): Depend on DATESTAMP from gcc subdirectory. Generate #define of __GLIBCXX__ from contents of that file. * include/Makefile.in: Regenerate. * include/bits/c++config: Do not define __GLIBCXX__. maintainer-scripts: * README: Update. * gcc_release: Update gcc/DEV-PHASE if that file exists, instead of gcc/version.c. * update_version: Handle updating gcc/DATESTAMP. * update_web_docs: Generate gcc-vers.texi first. From-SVN: r96549
This commit is contained in:
parent
0ebfd2c928
commit
a1286ef574
|
|
@ -1,3 +1,7 @@
|
|||
2005-03-15 Zack Weinberg <zack@codesourcery.com>
|
||||
|
||||
* gcc-version.m4: Delete.
|
||||
|
||||
2005-02-28 Paolo Bonzini <bonzini@gnu.org>
|
||||
|
||||
PR bootstrap/17383
|
||||
|
|
|
|||
|
|
@ -1,28 +0,0 @@
|
|||
dnl Usage: TL_AC_GCC_VERSION(TOPSRCDIR)
|
||||
dnl
|
||||
dnl Set up the variables:
|
||||
dnl
|
||||
dnl gcc_version_trigger: pathname of gcc's version.c, if available
|
||||
dnl gcc_version_full: full gcc version string
|
||||
dnl gcc_version: the first "word" in $gcc_version_full
|
||||
dnl
|
||||
dnl TOPSRCDIR is the top-level source directory.
|
||||
AC_DEFUN([TL_AC_GCC_VERSION],
|
||||
[
|
||||
changequote(,)dnl
|
||||
if test "${with_gcc_version_trigger+set}" = set; then
|
||||
gcc_version_trigger=$with_gcc_version_trigger
|
||||
else
|
||||
gcc_version_trigger=$1/gcc/version.c
|
||||
fi
|
||||
if test -f "${gcc_version_trigger}"; then
|
||||
gcc_version_full=`grep version_string "${gcc_version_trigger}" | sed -e 's/.*"\([^"]*\)".*/\1/'`
|
||||
else
|
||||
gcc_version_full=`$CC -v 2>&1 | sed -n 's/^gcc version //p'`
|
||||
fi
|
||||
gcc_version=`echo ${gcc_version_full} | sed -e 's/\([^ ]*\) .*/\1/'`
|
||||
changequote([,])dnl
|
||||
AC_SUBST(gcc_version_trigger)
|
||||
AC_SUBST(gcc_version_full)
|
||||
AC_SUBST(gcc_version)
|
||||
])dnl
|
||||
|
|
@ -1,3 +1,13 @@
|
|||
2005-03-15 Zack Weinberg <zack@codesourcery.com>
|
||||
|
||||
* Makefile.am (fastjar_TEXINFOS): Add gcc-vers.texi.
|
||||
(BASEVER, DEVPHASE): New variables.
|
||||
(POD2MAN): Adjust setting of --release option.
|
||||
(fastjar.1, grepjar.1, gcc-vers.texi): New rules.
|
||||
* Makefile.in: Regenerate.
|
||||
* configure.ac: Do not invoke TL_AC_GCC_VERSION.
|
||||
* aclocal.m4, configure: Regenerate.
|
||||
|
||||
2004-12-02 Richard Sandiford <rsandifo@redhat.com>
|
||||
|
||||
* configure.ac: Use TL_AC_GCC_VERSION to set gcc_version.
|
||||
|
|
|
|||
|
|
@ -63,12 +63,16 @@ TEXINFO_TEX = ../gcc/doc/include/texinfo.tex
|
|||
info_TEXINFOS = fastjar.texi
|
||||
fastjar_TEXINFOS = \
|
||||
../gcc/doc/include/gcc-common.texi \
|
||||
../gcc/doc/include/gpl.texi
|
||||
../gcc/doc/include/gpl.texi \
|
||||
gcc-vers.texi
|
||||
man_MANS = fastjar.1 grepjar.1
|
||||
EXTRA_DIST = $(man_MANS)
|
||||
|
||||
BASEVER = $(srcdir)/../gcc/BASE-VER
|
||||
DEVPHASE = $(srcdir)/../gcc/DEV-PHASE
|
||||
|
||||
TEXI2POD = perl $(srcdir)/../contrib/texi2pod.pl
|
||||
POD2MAN = pod2man --center="GNU" --release="gcc-@gcc_version@"
|
||||
POD2MAN = pod2man --center="GNU" --release="gcc-$(shell cat $(BASEVER))"
|
||||
|
||||
.pod.1:
|
||||
-($(POD2MAN) --section=1 $< > $(@).T$$$$ && \
|
||||
|
|
@ -83,6 +87,17 @@ fastjar.pod: $(srcdir)/fastjar.texi
|
|||
grepjar.pod: $(srcdir)/fastjar.texi
|
||||
-$(TEXI2POD) -D grepjar $< > $@
|
||||
|
||||
fastjar.1 grepjar.1: $(BASEVER)
|
||||
|
||||
# gcc-vers.texi is generated from the version files.
|
||||
gcc-vers.texi: $(BASEVER) $(DEVPHASE)
|
||||
(echo "@set version-GCC $(shell cat $(BASEVER))"; \
|
||||
if [ "$(shell cat $(DEVPHASE))" = "experimental" ]; \
|
||||
then echo "@set DEVELOPMENT"; \
|
||||
else echo "@clear DEVELOPMENT"; \
|
||||
fi) > $@T
|
||||
mv -f $@T $@
|
||||
|
||||
# GCC LOCAL CHANGE
|
||||
# The following commands allow us to release tarballs with the man pages
|
||||
# and info documentation prebuilt. This feature is enabled via
|
||||
|
|
|
|||
|
|
@ -49,7 +49,6 @@ DIST_COMMON = README $(am__configure_deps) $(fastjar_TEXINFOS) \
|
|||
COPYING ChangeLog INSTALL NEWS
|
||||
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
||||
am__aclocal_m4_deps = $(top_srcdir)/../config/accross.m4 \
|
||||
$(top_srcdir)/../config/gcc-version.m4 \
|
||||
$(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.ac
|
||||
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
|
||||
$(ACLOCAL_M4)
|
||||
|
|
@ -175,9 +174,6 @@ build_alias = @build_alias@
|
|||
datadir = @datadir@
|
||||
exec_prefix = @exec_prefix@
|
||||
fastjar_warn_cflags = @fastjar_warn_cflags@
|
||||
gcc_version = @gcc_version@
|
||||
gcc_version_full = @gcc_version_full@
|
||||
gcc_version_trigger = @gcc_version_trigger@
|
||||
host_alias = @host_alias@
|
||||
includedir = @includedir@
|
||||
infodir = @infodir@
|
||||
|
|
@ -253,12 +249,15 @@ TEXINFO_TEX = ../gcc/doc/include/texinfo.tex
|
|||
info_TEXINFOS = fastjar.texi
|
||||
fastjar_TEXINFOS = \
|
||||
../gcc/doc/include/gcc-common.texi \
|
||||
../gcc/doc/include/gpl.texi
|
||||
../gcc/doc/include/gpl.texi \
|
||||
gcc-vers.texi
|
||||
|
||||
man_MANS = fastjar.1 grepjar.1
|
||||
EXTRA_DIST = $(man_MANS)
|
||||
BASEVER = $(srcdir)/../gcc/BASE-VER
|
||||
DEVPHASE = $(srcdir)/../gcc/DEV-PHASE
|
||||
TEXI2POD = perl $(srcdir)/../contrib/texi2pod.pl
|
||||
POD2MAN = pod2man --center="GNU" --release="gcc-@gcc_version@"
|
||||
POD2MAN = pod2man --center="GNU" --release="gcc-$(shell cat $(BASEVER))"
|
||||
@GENINSRC_FALSE@STAMP_GENINSRC =
|
||||
|
||||
# GCC LOCAL CHANGE
|
||||
|
|
@ -924,6 +923,17 @@ fastjar.pod: $(srcdir)/fastjar.texi
|
|||
grepjar.pod: $(srcdir)/fastjar.texi
|
||||
-$(TEXI2POD) -D grepjar $< > $@
|
||||
|
||||
fastjar.1 grepjar.1: $(BASEVER)
|
||||
|
||||
# gcc-vers.texi is generated from the version files.
|
||||
gcc-vers.texi: $(BASEVER) $(DEVPHASE)
|
||||
(echo "@set version-GCC $(shell cat $(BASEVER))"; \
|
||||
if [ "$(shell cat $(DEVPHASE))" = "experimental" ]; \
|
||||
then echo "@set DEVELOPMENT"; \
|
||||
else echo "@clear DEVELOPMENT"; \
|
||||
fi) > $@T
|
||||
mv -f $@T $@
|
||||
|
||||
all-local: $(STAMP_GENINSRC)
|
||||
|
||||
stamp-geninsrc: fastjar.1 grepjar.1 fastjar.info
|
||||
|
|
|
|||
|
|
@ -1083,5 +1083,4 @@ AC_SUBST([am__untar])
|
|||
]) # _AM_PROG_TAR
|
||||
|
||||
m4_include([../config/accross.m4])
|
||||
m4_include([../config/gcc-version.m4])
|
||||
m4_include([acinclude.m4])
|
||||
|
|
|
|||
|
|
@ -309,7 +309,7 @@ ac_includes_default="\
|
|||
# include <unistd.h>
|
||||
#endif"
|
||||
|
||||
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE RM CP CHMOD MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT fastjar_warn_cflags CPP EGREP ZLIBS ZDEPS ZINCS GENINSRC_TRUE GENINSRC_FALSE gcc_version_trigger gcc_version_full gcc_version LIBOBJS LTLIBOBJS'
|
||||
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE RM CP CHMOD MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT fastjar_warn_cflags CPP EGREP ZLIBS ZDEPS ZINCS GENINSRC_TRUE GENINSRC_FALSE LIBOBJS LTLIBOBJS'
|
||||
ac_subst_files=''
|
||||
|
||||
# Initialize some variables set by options.
|
||||
|
|
@ -5226,23 +5226,6 @@ else
|
|||
fi
|
||||
|
||||
|
||||
|
||||
if test "${with_gcc_version_trigger+set}" = set; then
|
||||
gcc_version_trigger=$with_gcc_version_trigger
|
||||
else
|
||||
gcc_version_trigger=$srcdir/../gcc/version.c
|
||||
fi
|
||||
if test -f "${gcc_version_trigger}"; then
|
||||
gcc_version_full=`grep version_string "${gcc_version_trigger}" | sed -e 's/.*"\([^"]*\)".*/\1/'`
|
||||
else
|
||||
gcc_version_full=`$CC -v 2>&1 | sed -n 's/^gcc version //p'`
|
||||
fi
|
||||
gcc_version=`echo ${gcc_version_full} | sed -e 's/\([^ ]*\) .*/\1/'`
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
ac_config_files="$ac_config_files Makefile install-defs.sh"
|
||||
cat >confcache <<\_ACEOF
|
||||
# This file is a shell script that caches the results of configure
|
||||
|
|
@ -5948,9 +5931,6 @@ s,@ZDEPS@,$ZDEPS,;t t
|
|||
s,@ZINCS@,$ZINCS,;t t
|
||||
s,@GENINSRC_TRUE@,$GENINSRC_TRUE,;t t
|
||||
s,@GENINSRC_FALSE@,$GENINSRC_FALSE,;t t
|
||||
s,@gcc_version_trigger@,$gcc_version_trigger,;t t
|
||||
s,@gcc_version_full@,$gcc_version_full,;t t
|
||||
s,@gcc_version@,$gcc_version,;t t
|
||||
s,@LIBOBJS@,$LIBOBJS,;t t
|
||||
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
|
||||
CEOF
|
||||
|
|
|
|||
|
|
@ -89,6 +89,4 @@ AC_MSG_CHECKING([whether to place generated files in the source directory])
|
|||
AC_MSG_RESULT($generated_files_in_srcdir)
|
||||
AM_CONDITIONAL(GENINSRC, test x$generated_files_in_srcdir = xyes)
|
||||
|
||||
TL_AC_GCC_VERSION([$srcdir/..])
|
||||
|
||||
AC_OUTPUT(Makefile install-defs.sh)
|
||||
|
|
|
|||
|
|
@ -0,0 +1 @@
|
|||
4.1.0
|
||||
|
|
@ -1,3 +1,42 @@
|
|||
2005-03-15 Zack Weinberg <zack@codesourcery.com>
|
||||
|
||||
* BASE-VER, DATESTAMP, DEV-PHASE: New files.
|
||||
* Makefile.in (gcc_version, gcc_version_trigger, ): Delete.
|
||||
(BASEVER, DEVPHASE, DATESTAMP, BASEVER_c, DEVPHASE_c, DATESTAMP_c)
|
||||
(BASEVER_s, DEVPHASE_s, DATESTAMP_s): New variables.
|
||||
(version): Define using $(BASEVER_c).
|
||||
(Makefile, config.status, build/gcov-iov.o): No longer depends on
|
||||
version.c.
|
||||
(version.o): Depend on version files; add custom generation command.
|
||||
(prefix.o): Define BASEVER on command line.
|
||||
(s-iov): Depend on version files; adjust command.
|
||||
(TEXI_CPP_FILES, TEX_IGCC_FILES, TEXI_GCCINT_FILES, TEXI_CPPINT_FILES):
|
||||
Add gcc-vers.texi.
|
||||
(gcc-vers.texi): New rule.
|
||||
(doc/%.info, doc/%.dvi): Add -I . to command line.
|
||||
(doc/gccinstall.dvi): Likewise.
|
||||
(PACKAGE): Delete. All uses replaced with "gcc".
|
||||
* aclocal.m4: Do not include gcc-version.m4.
|
||||
* configure.ac: Do not invoke TL_AC_GCC_VERSION.
|
||||
Do not AC_SUBST nor AC_DEFINE PACKAGE or VERSION.
|
||||
Set is_release based on contents of DEV-PHASE.
|
||||
Set gcc_version based on contents of BASE-VER.
|
||||
Define WIN32_REGISTRY_KEY only if the user overrode the default.
|
||||
* config.in, configure: Regenerate.
|
||||
* gccbug.in: Determine version of GCC in use at runtime.
|
||||
* gcov-iov.c: Get version number and development phase from
|
||||
command line, not by including version.c.
|
||||
* intl.c: Replace all uses of PACKAGE with "gcc".
|
||||
* libada-mk.in: Delete unused "gcc_version" variable.
|
||||
* prefix.c: Default WIN32_REGISTRY_KEY to BASEVER.
|
||||
* version.c: (VERSUFFIX): New hook for redistributors; adjust
|
||||
commentary to match.
|
||||
(version_string): Put together from pieces.
|
||||
* config/alpha/x-vms: Do not use $(gcc_version).
|
||||
* config/i386/t-nwld: Likewise.
|
||||
* doc/include/gcc-common.texi: Include gcc-vers.texi for
|
||||
version-GCC and DEVELOPMENT.
|
||||
|
||||
2005-03-15 Roger Sayle <roger@eyesopen.com>
|
||||
|
||||
PR tree-optimization/17454
|
||||
|
|
|
|||
|
|
@ -0,0 +1 @@
|
|||
20050315
|
||||
|
|
@ -0,0 +1 @@
|
|||
experimental
|
||||
109
gcc/Makefile.in
109
gcc/Makefile.in
|
|
@ -427,10 +427,6 @@ GTHREAD_FLAGS=@gthread_flags@
|
|||
extra_modes_file=@extra_modes_file@
|
||||
extra_opt_files=@extra_opt_files@
|
||||
host_hook_obj=@out_host_hook_obj@
|
||||
# Be prepared for gcc2 merges.
|
||||
gcc_version=@gcc_version@
|
||||
gcc_version_trigger=@gcc_version_trigger@
|
||||
version=$(gcc_version)
|
||||
|
||||
# ------------------------
|
||||
# Installation directories
|
||||
|
|
@ -688,6 +684,27 @@ TM_P_H = tm_p.h $(tm_p_file_list)
|
|||
GTM_H = tm.h $(tm_file_list)
|
||||
TM_H = $(GTM_H) insn-constants.h insn-flags.h
|
||||
|
||||
# Variables for version information.
|
||||
BASEVER = $(srcdir)/BASE-VER # 4.x.y
|
||||
DEVPHASE = $(srcdir)/DEV-PHASE # experimental, prerelease, ""
|
||||
DATESTAMP = $(srcdir)/DATESTAMP # YYYYMMDD or empty
|
||||
|
||||
BASEVER_c = $(shell cat $(BASEVER))
|
||||
DEVPHASE_c = $(shell cat $(DEVPHASE))
|
||||
DATESTAMP_c = $(shell cat $(DATESTAMP))
|
||||
|
||||
version = $(BASEVER_c)
|
||||
|
||||
# For use in version.c - double quoted strings, with appropriate
|
||||
# surrounding punctuation and spaces, and with the datestamp and
|
||||
# development phase collapsed to the empty string in release mode
|
||||
# (i.e. if DEVPHASE_c is empty). The space immediately after the
|
||||
# comma in the $(if ...) constructs is significant - do not remove it.
|
||||
BASEVER_s = "\"$(BASEVER_c)\""
|
||||
DEVPHASE_s = "\"$(if $(DEVPHASE_c), ($(DEVPHASE_c)))\""
|
||||
DATESTAMP_s = "\"$(if $(DEVPHASE_c), $(DATESTAMP_c))\""
|
||||
|
||||
# Shorthand variables for dependency lists.
|
||||
TARGET_H = $(TM_H) target.h insn-modes.h
|
||||
MACHMODE_H = machmode.h mode-classes.def insn-modes.h
|
||||
HOOKS_H = hooks.h $(MACHMODE_H)
|
||||
|
|
@ -1042,7 +1059,7 @@ endif
|
|||
# Rebuilding this configuration
|
||||
# -----------------------------
|
||||
|
||||
Makefile: config.status $(srcdir)/Makefile.in $(srcdir)/version.c $(LANG_MAKEFRAGS)
|
||||
Makefile: config.status $(srcdir)/Makefile.in $(LANG_MAKEFRAGS)
|
||||
LANGUAGES="$(CONFIG_LANGUAGES)" \
|
||||
CONFIG_HEADERS= \
|
||||
CONFIG_SHELL="$(SHELL)" \
|
||||
|
|
@ -1119,7 +1136,7 @@ cstamp-h: config.in config.status
|
|||
# Really, really stupid make features, such as SUN's KEEP_STATE, may force
|
||||
# a target to build even if it is up-to-date. So we must verify that
|
||||
# config.status does not exist before failing.
|
||||
config.status: $(srcdir)/configure $(srcdir)/config.gcc version.c
|
||||
config.status: $(srcdir)/configure $(srcdir)/config.gcc
|
||||
@if [ ! -f config.status ] ; then \
|
||||
echo You must configure gcc. Look at http://gcc.gnu.org/install/ for details.; \
|
||||
false; \
|
||||
|
|
@ -1553,7 +1570,10 @@ options.o: options.c options.h opts.h intl.h
|
|||
|
||||
dumpvers: dumpvers.c
|
||||
|
||||
version.o: version.c version.h
|
||||
version.o: version.c version.h $(DATESTAMP) $(BASEVER) $(DEVPHASE)
|
||||
$(CC) $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
|
||||
-DBASEVER=$(BASEVER_s) -DDATESTAMP=$(DATESTAMP_s) \
|
||||
-DDEVPHASE=$(DEVPHASE_s) -c $(srcdir)/version.c $(OUTPUT_OPTION)
|
||||
|
||||
gtype-desc.o: gtype-desc.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
|
||||
varray.h $(HASHTAB_H) $(SPLAY_TREE_H) bitmap.h $(TREE_H) $(RTL_H) \
|
||||
|
|
@ -1575,9 +1595,10 @@ ggc-none.o: ggc-none.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(GGC_H)
|
|||
stringpool.o: stringpool.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
|
||||
$(TREE_H) $(GGC_H) gt-stringpool.h
|
||||
|
||||
prefix.o: prefix.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) Makefile prefix.h
|
||||
prefix.o: prefix.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) prefix.h \
|
||||
Makefile $(BASEVER)
|
||||
$(CC) $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
|
||||
-DPREFIX=\"$(prefix)\" \
|
||||
-DPREFIX=\"$(prefix)\" -DBASEVER=$(BASEVER_s) \
|
||||
-c $(srcdir)/prefix.c $(OUTPUT_OPTION)
|
||||
|
||||
convert.o: convert.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) $(FLAGS_H) \
|
||||
|
|
@ -2765,15 +2786,16 @@ test-protoize-simple: ./protoize ./unprotoize $(GCC_PASSES)
|
|||
-rm -f tmp-proto.[cs] tmp-proto$(objext)
|
||||
|
||||
# gcov-iov.c is run on the build machine to generate gcov-iov.h from version.c
|
||||
build/gcov-iov.o: gcov-iov.c version.c $(BCONFIG_H) coretypes.h $(GTM_H) \
|
||||
build/gcov-iov.o: gcov-iov.c $(BCONFIG_H) coretypes.h $(GTM_H) \
|
||||
$(SYSTEM_H) coretypes.h $(TM_H)
|
||||
|
||||
build/gcov-iov$(build_exeext): build/gcov-iov.o
|
||||
$(CC_FOR_BUILD) $(BUILD_CFLAGS) $(BUILD_LDFLAGS) build/gcov-iov.o -o $@
|
||||
|
||||
gcov-iov.h: s-iov
|
||||
s-iov: build/gcov-iov$(build_exeext)
|
||||
build/gcov-iov$(build_exeext) > tmp-gcov-iov.h
|
||||
s-iov: build/gcov-iov$(build_exeext) $(BASEVER) $(DEVPHASE)
|
||||
build/gcov-iov$(build_exeext) '$(BASEVER_c)' '$(DEVPHASE_c)' \
|
||||
> tmp-gcov-iov.h
|
||||
$(SHELL) $(srcdir)/../move-if-change tmp-gcov-iov.h gcov-iov.h
|
||||
$(STAMP) s-iov
|
||||
|
||||
|
|
@ -2970,24 +2992,37 @@ info: $(INFOFILES) lang.info @GENINSRC@ srcinfo lang.srcinfo
|
|||
srcinfo: $(INFOFILES)
|
||||
-cp -p $^ $(srcdir)/doc
|
||||
|
||||
TEXI_CPP_FILES = cpp.texi fdl.texi cppenv.texi cppopts.texi
|
||||
TEXI_CPP_FILES = cpp.texi fdl.texi cppenv.texi cppopts.texi \
|
||||
gcc-common.texi gcc-vers.texi
|
||||
|
||||
TEXI_GCC_FILES = gcc.texi gcc-common.texi frontends.texi standards.texi \
|
||||
invoke.texi extend.texi md.texi objc.texi gcov.texi trouble.texi \
|
||||
bugreport.texi service.texi contribute.texi compat.texi funding.texi \
|
||||
gnu.texi gpl.texi fdl.texi contrib.texi cppenv.texi cppopts.texi \
|
||||
TEXI_GCC_FILES = gcc.texi gcc-common.texi gcc-vers.texi frontends.texi \
|
||||
standards.texi invoke.texi extend.texi md.texi objc.texi \
|
||||
gcov.texi trouble.texi bugreport.texi service.texi \
|
||||
contribute.texi compat.texi funding.texi gnu.texi gpl.texi \
|
||||
fdl.texi contrib.texi cppenv.texi cppopts.texi \
|
||||
implement-c.texi
|
||||
|
||||
TEXI_GCCINT_FILES = gccint.texi gcc-common.texi contribute.texi makefile.texi \
|
||||
configterms.texi portability.texi interface.texi passes.texi \
|
||||
c-tree.texi rtl.texi md.texi tm.texi hostconfig.texi fragments.texi \
|
||||
configfiles.texi collect2.texi headerdirs.texi funding.texi gnu.texi \
|
||||
gpl.texi fdl.texi contrib.texi languages.texi sourcebuild.texi \
|
||||
gty.texi libgcc.texi cfg.texi tree-ssa.texi options.texi
|
||||
TEXI_GCCINT_FILES = gccint.texi gcc-common.texi gcc-vers.texi \
|
||||
contribute.texi makefile.texi configterms.texi options.texi \
|
||||
portability.texi interface.texi passes.texi c-tree.texi \
|
||||
rtl.texi md.texi tm.texi hostconfig.texi fragments.texi \
|
||||
configfiles.texi collect2.texi headerdirs.texi funding.texi \
|
||||
gnu.texi gpl.texi fdl.texi contrib.texi languages.texi \
|
||||
sourcebuild.texi gty.texi libgcc.texi cfg.texi tree-ssa.texi
|
||||
|
||||
TEXI_GCCINSTALL_FILES = install.texi install-old.texi fdl.texi
|
||||
|
||||
TEXI_CPPINT_FILES = cppinternals.texi
|
||||
TEXI_CPPINT_FILES = cppinternals.texi gcc-common.texi gcc-vers.texi
|
||||
|
||||
# gcc-vers.texi is generated from the version files.
|
||||
gcc-vers.texi: $(BASEVER) $(DEVPHASE)
|
||||
(echo "@set version-GCC $(BASEVER_c)"; \
|
||||
if [ "$(DEVPHASE_c)" = "experimental" ]; \
|
||||
then echo "@set DEVELOPMENT"; \
|
||||
else echo "@clear DEVELOPMENT"; \
|
||||
fi) > $@T
|
||||
mv -f $@T $@
|
||||
|
||||
|
||||
# The *.1, *.7, *.info, and *.dvi files are being generated from implicit
|
||||
# patterns. To use them, put each of the specific targets with its
|
||||
|
|
@ -3000,7 +3035,7 @@ doc/cppinternals.info: $(TEXI_CPPINT_FILES)
|
|||
|
||||
doc/%.info: %.texi
|
||||
if [ x$(BUILD_INFO) = xinfo ]; then \
|
||||
$(MAKEINFO) $(MAKEINFOFLAGS) -I $(docdir) \
|
||||
$(MAKEINFO) $(MAKEINFOFLAGS) -I . -I $(docdir) \
|
||||
-I $(docdir)/include -o $@ $<; \
|
||||
fi
|
||||
|
||||
|
|
@ -3025,11 +3060,11 @@ dvi:: doc/gcc.dvi doc/gccint.dvi doc/gccinstall.dvi doc/cpp.dvi \
|
|||
doc/cppinternals.dvi
|
||||
|
||||
doc/%.dvi: %.texi
|
||||
$(TEXI2DVI) -I $(abs_docdir) -I $(abs_docdir)/include -o $@ $<
|
||||
$(TEXI2DVI) -I . -I $(abs_docdir) -I $(abs_docdir)/include -o $@ $<
|
||||
|
||||
# Duplicate entry to handle renaming of gccinstall.dvi
|
||||
doc/gccinstall.dvi: $(TEXI_GCCINSTALL_FILES)
|
||||
$(TEXI2DVI) -I $(abs_docdir) -I $(abs_docdir)/include -o $@ $<
|
||||
$(TEXI2DVI) -I . -I $(abs_docdir) -I $(abs_docdir)/include -o $@ $<
|
||||
|
||||
html:: $(htmldir)/cpp/index.html $(htmldir)/gcc/index.html \
|
||||
$(htmldir)/gccinstall/index.html $(htmldir)/gccint/index.html \
|
||||
|
|
@ -4185,8 +4220,6 @@ risky-stage4: stage4
|
|||
XGETTEXT = @XGETTEXT@
|
||||
GMSGFMT = @GMSGFMT@
|
||||
MSGMERGE = msgmerge
|
||||
|
||||
PACKAGE = @PACKAGE@
|
||||
CATALOGS = @CATALOGS@
|
||||
|
||||
.PHONY: build- install- build-po install-po update-po
|
||||
|
|
@ -4210,13 +4243,13 @@ update-po: $(CATALOGS:.gmo=.pox)
|
|||
|
||||
# The new .po has to be gone over by hand, so we deposit it into
|
||||
# build/po with a different extension.
|
||||
# If build/po/$(PACKAGE).pot exists, use it (it was just created),
|
||||
# If build/po/gcc.pot exists, use it (it was just created),
|
||||
# else use the one in srcdir.
|
||||
.po.pox:
|
||||
-test -d po || mkdir po
|
||||
$(MSGMERGE) $< `if test -f po/$(PACKAGE).pot; \
|
||||
then echo po/$(PACKAGE).pot; \
|
||||
else echo $(srcdir)/po/$(PACKAGE).pot; fi` -o $@
|
||||
$(MSGMERGE) $< `if test -f po/gcc.pot; \
|
||||
then echo po/gcc.pot; \
|
||||
else echo $(srcdir)/po/gcc.pot; fi` -o $@
|
||||
|
||||
# This rule has to look for .gmo modules in both srcdir and
|
||||
# the cwd, and has to check that we actually have a catalog
|
||||
|
|
@ -4233,8 +4266,8 @@ install-po:
|
|||
dir=$(localedir)/$$lang/LC_MESSAGES; \
|
||||
echo $(mkinstalldirs) $(DESTDIR)$$dir; \
|
||||
$(mkinstalldirs) $(DESTDIR)$$dir || exit 1; \
|
||||
echo $(INSTALL_DATA) $$cat $(DESTDIR)$$dir/$(PACKAGE).mo; \
|
||||
$(INSTALL_DATA) $$cat $(DESTDIR)$$dir/$(PACKAGE).mo; \
|
||||
echo $(INSTALL_DATA) $$cat $(DESTDIR)$$dir/gcc.mo; \
|
||||
$(INSTALL_DATA) $$cat $(DESTDIR)$$dir/gcc.mo; \
|
||||
done
|
||||
|
||||
# Rule for regenerating the message template (gcc.pot).
|
||||
|
|
@ -4244,9 +4277,9 @@ install-po:
|
|||
# Note that exgettext has an awk script embedded in it which requires a
|
||||
# fairly modern (POSIX-compliant) awk.
|
||||
# The .pot file is left in the build directory.
|
||||
$(PACKAGE).pot: po/$(PACKAGE).pot
|
||||
po/$(PACKAGE).pot: force options.c
|
||||
gcc.pot: po/gcc.pot
|
||||
po/gcc.pot: force options.c
|
||||
-test -d po || mkdir po
|
||||
$(MAKE) srcextra
|
||||
AWK=$(AWK) $(SHELL) $(srcdir)/po/exgettext \
|
||||
$(XGETTEXT) $(PACKAGE) $(srcdir)
|
||||
$(XGETTEXT) gcc $(srcdir)
|
||||
|
|
|
|||
|
|
@ -2,7 +2,6 @@ m4_include([../config/accross.m4])
|
|||
m4_include([../config/acx.m4])
|
||||
m4_include([../config/gettext-sister.m4])
|
||||
m4_include([../config/gcc-lib-path.m4])
|
||||
m4_include([../config/gcc-version.m4])
|
||||
m4_include([../config/iconv.m4])
|
||||
m4_include([../config/lcmessage.m4])
|
||||
m4_include([../config/lib-ld.m4])
|
||||
|
|
|
|||
|
|
@ -1,3 +1,9 @@
|
|||
2005-03-15 Zack Weinberg <zack@codesourcery.com>
|
||||
|
||||
* Make-lang.in (doc/gnat_ugn_unw.info, doc/gnat_rm.info)
|
||||
(doc/gnat_ugn_unw.dvi, doc/gnat_rm.dvi): Add gcc-vers.texi
|
||||
to dependencies.
|
||||
|
||||
2005-03-15 Vincent Celier <celier@adacore.com>
|
||||
|
||||
* mlib-tgt-darwin.adb (Library_Exist_For, Library_File_Name_For):
|
||||
|
|
|
|||
|
|
@ -380,7 +380,9 @@ doc/gnat_ugn_unw.texi: $(srcdir)/ada/gnat_ugn.texi $(srcdir)/ada/ug_words
|
|||
$(srcdir)/ada/ug_words doc/gnat_ugn_unw.texi
|
||||
|
||||
doc/gnat_ugn_unw.info: doc/gnat_ugn_unw.texi \
|
||||
$(docdir)/include/fdl.texi $(docdir)/include/gcc-common.texi
|
||||
$(docdir)/include/fdl.texi $(docdir)/include/gcc-common.texi \
|
||||
gcc-vers.texi
|
||||
|
||||
if [ x$(BUILD_INFO) = xinfo ]; then \
|
||||
rm -f $(@)*; \
|
||||
$(MAKEINFO) $(MAKEINFOFLAGS) -I$(docdir)/include \
|
||||
|
|
@ -388,7 +390,7 @@ doc/gnat_ugn_unw.info: doc/gnat_ugn_unw.texi \
|
|||
else true; fi
|
||||
|
||||
doc/gnat_rm.info: ada/gnat_rm.texi $(docdir)/include/fdl.texi \
|
||||
$(docdir)/include/gcc-common.texi
|
||||
$(docdir)/include/gcc-common.texi gcc-vers.texi
|
||||
if [ x$(BUILD_INFO) = xinfo ]; then \
|
||||
rm -f $(@)*; \
|
||||
$(MAKEINFO) $(MAKEINFOFLAGS) -I$(docdir)/include \
|
||||
|
|
@ -417,12 +419,12 @@ install-info:: $(DESTDIR)$(infodir)/gnat_ugn_unw.info \
|
|||
dvi:: doc/gnat_ugn_unw.dvi \
|
||||
doc/gnat_rm.dvi doc/gnat-style.dvi
|
||||
|
||||
doc/gnat_ugn_unw.dvi: doc/gnat_ugn_unw.texi \
|
||||
$(docdir)/include/fdl.texi $(docdir)/include/gcc-common.texi
|
||||
doc/gnat_ugn_unw.dvi: doc/gnat_ugn_unw.texi $(docdir)/include/fdl.texi \
|
||||
$(docdir)/include/gcc-common.texi gcc-vers.texi
|
||||
$(TEXI2DVI) -c -I $(abs_docdir)/include -o $@ $<
|
||||
|
||||
doc/gnat_rm.dvi: ada/gnat_rm.texi \
|
||||
$(docdir)/include/fdl.texi $(docdir)/include/gcc-common.texi
|
||||
doc/gnat_rm.dvi: ada/gnat_rm.texi $(docdir)/include/fdl.texi \
|
||||
$(docdir)/include/gcc-common.texi gcc-vers.texi
|
||||
$(TEXI2DVI) -c -I $(abs_docdir)/include -o $@ $<
|
||||
|
||||
doc/gnat-style.dvi: ada/gnat-style.texi $(docdir)/include/fdl.texi
|
||||
|
|
|
|||
|
|
@ -64,8 +64,8 @@
|
|||
valgrind (a memory checker). This is extremely expensive. */
|
||||
#undef ENABLE_VALGRIND_CHECKING
|
||||
|
||||
/* Define to 1 if installation paths should be looked up in Windows32
|
||||
Registry. Ignored on non windows32 hosts. */
|
||||
/* Define to 1 if installation paths should be looked up in the Windows
|
||||
Registry. Ignored on non-Windows hosts. */
|
||||
#undef ENABLE_WIN32_REGISTRY
|
||||
|
||||
/* Define to the name of a file containing a list of extra machine modes for
|
||||
|
|
@ -534,9 +534,6 @@
|
|||
/* Define to 1 if your C compiler doesn't accept -c and -o together. */
|
||||
#undef NO_MINUS_C_MINUS_O
|
||||
|
||||
/* The name of this program for internationalization purposes. */
|
||||
#undef PACKAGE
|
||||
|
||||
/* Define to the address where bug reports for this package should be sent. */
|
||||
#undef PACKAGE_BUGREPORT
|
||||
|
||||
|
|
@ -592,7 +589,10 @@
|
|||
/* Define if location_t is fileline integer cookie. */
|
||||
#undef USE_MAPPED_LOCATION
|
||||
|
||||
/* Define to be the last portion of registry key on windows hosts. */
|
||||
/* Define to be the last component of the Windows registry key under which to
|
||||
look for installation paths. The full key used will be
|
||||
HKEY_LOCAL_MACHINE/SOFTWARE/Free Software Foundation/{WIN32_REGISTRY_KEY}.
|
||||
The default is the GCC version number. */
|
||||
#undef WIN32_REGISTRY_KEY
|
||||
|
||||
/* whether byteorder is bigendian */
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
# Under VMS, directory names cannot contain dots.
|
||||
version:=$(shell echo $(gcc_version) | sed -e 's/\./_/g')
|
||||
version:=$(shell echo $(BASEVER_c) | sed -e 's/\./_/g')
|
||||
|
||||
libsubdir=$(libdir)/gcc-lib
|
||||
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@ SHLIB_SRC = $(srcdir)/config/i386/netware-libgcc.c
|
|||
SHLIB_LINK = set -e; \
|
||||
cat $(SHLIB_DEF) >@shlib_base_name@.def; \
|
||||
echo "name $(SHLIB_NAME)" >>@shlib_base_name@.def; \
|
||||
echo "version $(gcc_version)" | sed "s!\.!,!g" >>@shlib_base_name@.def; \
|
||||
echo "version $(version)" | sed "s!\.!,!g" >>@shlib_base_name@.def; \
|
||||
touch libgcc/build; \
|
||||
echo "build $$$$(($$$$(<libgcc/build)+0))" >>@shlib_base_name@.def; \
|
||||
echo "export @$(SHLIB_MAP)" >>@shlib_base_name@.def; \
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load Diff
|
|
@ -30,9 +30,6 @@ AC_INIT
|
|||
AC_CONFIG_SRCDIR(tree.c)
|
||||
AC_CONFIG_HEADER(auto-host.h:config.in)
|
||||
|
||||
#Set to 1 on a release branch
|
||||
is_release=
|
||||
|
||||
# Determine the host, build, and target systems
|
||||
AC_CANONICAL_BUILD
|
||||
AC_CANONICAL_HOST
|
||||
|
|
@ -100,8 +97,6 @@ AC_MSG_ERROR([
|
|||
*** and run configure again.])
|
||||
fi
|
||||
|
||||
TL_AC_GCC_VERSION([$srcdir/..])
|
||||
|
||||
# -----------
|
||||
# Directories
|
||||
# -----------
|
||||
|
|
@ -139,7 +134,7 @@ if test x${gcc_gxx_include_dir} = x; then
|
|||
if test x${enable_version_specific_runtime_libs} = xyes; then
|
||||
gcc_gxx_include_dir='${libsubdir}/include/c++'
|
||||
else
|
||||
libstdcxx_incdir=c++/${gcc_version}
|
||||
libstdcxx_incdir='c++/$(version)'
|
||||
changequote(<<, >>)dnl
|
||||
gcc_gxx_include_dir="\$(libsubdir)/\$(unlibsubdir)/..\`echo \$(exec_prefix) | sed -e 's|^\$(prefix)||' -e 's|/[^/]*|/..|g'\`/include/"${libstdcxx_incdir}
|
||||
changequote([, ])dnl
|
||||
|
|
@ -375,6 +370,10 @@ fi
|
|||
AC_SUBST(warn_cflags)
|
||||
|
||||
# Enable -Werror in bootstrap stage2 and later.
|
||||
is_release=
|
||||
if test x"`cat $srcdir/DEV-PHASE`" != xexperimental; then
|
||||
is_release=yes
|
||||
fi
|
||||
AC_ARG_ENABLE(werror,
|
||||
[ --enable-werror enable -Werror in bootstrap stage2 and later], [],
|
||||
[if test x$is_release = x ; then
|
||||
|
|
@ -1418,13 +1417,6 @@ EOF
|
|||
changequote([,])dnl
|
||||
|
||||
# Internationalization
|
||||
PACKAGE=gcc
|
||||
VERSION="$gcc_version"
|
||||
AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE",
|
||||
[The name of this program for internationalization purposes.])
|
||||
AC_SUBST(PACKAGE)
|
||||
AC_SUBST(VERSION)
|
||||
|
||||
ZW_GNU_GETTEXT_SISTER_DIR
|
||||
|
||||
# If LIBINTL contains LIBICONV, then clear LIBICONV so we don't get
|
||||
|
|
@ -1442,40 +1434,26 @@ AC_ARG_ENABLE(win32-registry,
|
|||
--enable-win32-registry=KEY
|
||||
use KEY instead of GCC version as the last portion
|
||||
of the registry key],,)
|
||||
|
||||
case $host_os in
|
||||
win32 | pe | cygwin* | mingw32* | uwin*)
|
||||
AC_MSG_CHECKING(whether windows registry support is requested)
|
||||
if test "x$enable_win32_registry" != xno; then
|
||||
AC_DEFINE(ENABLE_WIN32_REGISTRY, 1,
|
||||
[Define to 1 if installation paths should be looked up in Windows32
|
||||
Registry. Ignored on non windows32 hosts.])
|
||||
AC_MSG_RESULT(yes)
|
||||
AC_SEARCH_LIBS(RegOpenKeyExA, advapi32)
|
||||
else
|
||||
AC_MSG_RESULT(no)
|
||||
AC_SEARCH_LIBS(RegOpenKeyExA, advapi32,, [enable_win32_registry=no])
|
||||
fi
|
||||
|
||||
# Check if user specified a different registry key.
|
||||
case "x${enable_win32_registry}" in
|
||||
x | xyes)
|
||||
# default.
|
||||
gcc_cv_win32_registry_key="$VERSION"
|
||||
;;
|
||||
xno)
|
||||
# no registry lookup.
|
||||
gcc_cv_win32_registry_key=''
|
||||
;;
|
||||
*)
|
||||
# user-specified key.
|
||||
gcc_cv_win32_registry_key="$enable_win32_registry"
|
||||
;;
|
||||
esac
|
||||
|
||||
if test "x$enable_win32_registry" != xno; then
|
||||
AC_MSG_CHECKING(registry key on windows hosts)
|
||||
AC_DEFINE_UNQUOTED(WIN32_REGISTRY_KEY, "$gcc_cv_win32_registry_key",
|
||||
[Define to be the last portion of registry key on windows hosts.])
|
||||
AC_MSG_RESULT($gcc_cv_win32_registry_key)
|
||||
AC_DEFINE(ENABLE_WIN32_REGISTRY, 1,
|
||||
[Define to 1 if installation paths should be looked up in the Windows
|
||||
Registry. Ignored on non-Windows hosts.])
|
||||
|
||||
if test "x$enable_win32_registry" != xyes \
|
||||
&& test "x$enable_win32_registry" != x; then
|
||||
AC_DEFINE_UNQUOTED(WIN32_REGISTRY_KEY, "$enable_win32_registry",
|
||||
[Define to be the last component of the Windows registry key under which
|
||||
to look for installation paths. The full key used will be
|
||||
HKEY_LOCAL_MACHINE/SOFTWARE/Free Software Foundation/{WIN32_REGISTRY_KEY}.
|
||||
The default is the GCC version number.])
|
||||
fi
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
|
@ -1776,6 +1754,8 @@ elif test -x "$AS" && test x$host = x$target; then
|
|||
gcc_cv_as="$AS"
|
||||
fi
|
||||
|
||||
gcc_version=`cat $srcdir/BASE-VER`
|
||||
|
||||
if test "x$gcc_cv_as" = x; then
|
||||
# Search the same directories that the installed compiler will
|
||||
# search. Else we may find the wrong assembler and lose. If we
|
||||
|
|
|
|||
|
|
@ -2,14 +2,13 @@
|
|||
@c This is part of the GCC manual.
|
||||
@c For copying conditions, see the file gcc.texi.
|
||||
|
||||
@c Common values used in the GCC manuals:
|
||||
@c Version number and development mode.
|
||||
@c version-GCC is @set to the base GCC version number.
|
||||
@c DEVELOPMENT is @set for an in-development version, @clear for a
|
||||
@c release version (corresponding to ``experimental''/anything else
|
||||
@c in gcc/DEV-PHASE).
|
||||
|
||||
@set version-GCC 4.1.0
|
||||
|
||||
@c DEVELOPMENT is set to indicate an in-development version,
|
||||
@c as compared to a release version. When making a release
|
||||
@c branch, clear this.
|
||||
@set DEVELOPMENT
|
||||
@include gcc-vers.texi
|
||||
|
||||
@c Common macros to support generating man pages:
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
2005-03-15 Zack Weinberg <zack@codesourcery.com>
|
||||
|
||||
* Make-lang.in (GFORTRAN_TEXI): Add gcc-vers.texi.
|
||||
|
||||
2005-03-15 Feng Wang <fengwang@nudt.edu.cn>
|
||||
|
||||
* trans-stmt.c (gfc_trans_label_assign): Don't set DECL_ARTIFICIAL flag
|
||||
|
|
|
|||
|
|
@ -147,7 +147,8 @@ GFORTRAN_TEXI = \
|
|||
$(srcdir)/doc/include/fdl.texi \
|
||||
$(srcdir)/doc/include/gpl.texi \
|
||||
$(srcdir)/doc/include/funding.texi \
|
||||
$(srcdir)/doc/include/gcc-common.texi
|
||||
$(srcdir)/doc/include/gcc-common.texi \
|
||||
gcc-vers.texi
|
||||
|
||||
doc/gfortran.info: $(GFORTRAN_TEXI)
|
||||
if [ x$(BUILD_INFO) = xinfo ]; then \
|
||||
|
|
|
|||
|
|
@ -31,7 +31,11 @@ SUBMITTER=net
|
|||
GNATS_ADDR=gcc-gnats@gcc.gnu.org
|
||||
|
||||
# The default release for this host.
|
||||
DEFAULT_RELEASE="@gcc_version_full@"
|
||||
# We have to guess at what program_transform_name might have done.
|
||||
# "sed 1q" because neither "head -1" nor "head -n 1" is universal, argh.
|
||||
|
||||
DEFAULT_GCC="`echo $0 | sed -e 's/bug//'`"
|
||||
DEFAULT_RELEASE="`$DEFAULT_GCC --version | sed 1q`"
|
||||
|
||||
# The default organization.
|
||||
DEFAULT_ORGANIZATION=
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
/* Generate gcov version string from version.c. See gcov-io.h for
|
||||
description of how the version string is generated.
|
||||
Copyright (C) 2002, 2003 Free Software Foundation, Inc.
|
||||
Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc.
|
||||
Contributed by Nathan Sidwell <nathan@codesourcery.com>
|
||||
|
||||
This file is part of GCC.
|
||||
|
|
@ -20,46 +20,50 @@ along with GCC; see the file COPYING. If not, write to the Free
|
|||
Software Foundation, 59 Temple Place - Suite 330, Boston, MA
|
||||
02111-1307, USA. */
|
||||
|
||||
#include "bconfig.h"
|
||||
#include "system.h"
|
||||
#include "coretypes.h"
|
||||
#include "tm.h"
|
||||
#include "version.c" /* We want the actual string. */
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
int main (int, char **);
|
||||
/* Command line arguments are the base GCC version and the development
|
||||
phase (the latter may be an empty string). */
|
||||
|
||||
int
|
||||
main (int argc ATTRIBUTE_UNUSED, char **argv ATTRIBUTE_UNUSED)
|
||||
main (int argc, char **argv)
|
||||
{
|
||||
unsigned version = 0;
|
||||
unsigned int version = 0;
|
||||
unsigned char v[4];
|
||||
unsigned ix;
|
||||
char const *ptr = version_string;
|
||||
unsigned major, minor = 0;
|
||||
char s = 0;
|
||||
unsigned int ix;
|
||||
unsigned long major;
|
||||
unsigned long minor = 0;
|
||||
char phase = 0;
|
||||
char *ptr;
|
||||
|
||||
major = atoi (ptr);
|
||||
while (*ptr && *ptr != '.')
|
||||
ptr++;
|
||||
if (*ptr)
|
||||
minor = atoi (ptr + 1);
|
||||
while (*ptr)
|
||||
if (*ptr++ == '(')
|
||||
if (argc != 3)
|
||||
{
|
||||
s = *ptr;
|
||||
break;
|
||||
fprintf (stderr, "usage: %s 'version' 'phase'\n", argv[0]);
|
||||
return 1;
|
||||
}
|
||||
|
||||
ptr = argv[1];
|
||||
major = strtoul (ptr, &ptr, 10);
|
||||
|
||||
if (*ptr == '.')
|
||||
minor = strtoul (ptr + 1, 0, 10);
|
||||
|
||||
phase = argv[2][0];
|
||||
if (phase == '\0')
|
||||
phase = '*';
|
||||
|
||||
v[0] = (major < 10 ? '0' : 'A' - 10) + major;
|
||||
v[1] = (minor / 10) + '0';
|
||||
v[2] = (minor % 10) + '0';
|
||||
v[3] = s ? s : '*';
|
||||
v[3] = phase;
|
||||
|
||||
for (ix = 0; ix != 4; ix++)
|
||||
version = (version << 8) | v[ix];
|
||||
|
||||
printf ("/* Generated automatically by the program `%s'\n", argv[0]);
|
||||
printf (" from `%s'. */\n", version_string);
|
||||
printf (" from `%s (%lu %lu) and %s (%c)'. */\n",
|
||||
argv[1], major, minor, argv[2], phase);
|
||||
printf ("\n");
|
||||
printf ("#define GCOV_VERSION ((gcov_unsigned_t)%#08x) /* %.4s */\n",
|
||||
version, v);
|
||||
|
|
|
|||
|
|
@ -51,8 +51,8 @@ gcc_init_libintl (void)
|
|||
setlocale (LC_ALL, "");
|
||||
#endif
|
||||
|
||||
(void) bindtextdomain (PACKAGE, LOCALEDIR);
|
||||
(void) textdomain (PACKAGE);
|
||||
(void) bindtextdomain ("gcc", LOCALEDIR);
|
||||
(void) textdomain ("gcc");
|
||||
|
||||
/* Opening quotation mark. */
|
||||
open_quote = _("`");
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
2005-03-15 Zack Weinberg <zack@codesourcery.com>
|
||||
|
||||
* Make-lang.in (TEXI_JAVA_FILES): Add gcc-vers.texi.
|
||||
|
||||
2005-03-11 Tom Tromey <tromey@redhat.com>
|
||||
|
||||
* gcj.texi (Invoking gcj-dbtool): Document 'gcj-dbtool -p'.
|
||||
|
|
|
|||
|
|
@ -370,8 +370,9 @@ java/jcf-path.o: java/jcf-path.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
|
|||
-DDEFAULT_TARGET_VERSION=\"$(version)\" \
|
||||
$(srcdir)/java/jcf-path.c $(OUTPUT_OPTION)
|
||||
|
||||
TEXI_JAVA_FILES = java/gcj.texi $(docdir)/include/fdl.texi $(docdir)/include/gpl.texi \
|
||||
$(docdir)/include/gcc-common.texi
|
||||
TEXI_JAVA_FILES = java/gcj.texi $(docdir)/include/fdl.texi \
|
||||
$(docdir)/include/gpl.texi $(docdir)/include/gcc-common.texi \
|
||||
gcc-vers.texi
|
||||
|
||||
# Documentation
|
||||
doc/gcj.info: $(TEXI_JAVA_FILES)
|
||||
|
|
|
|||
|
|
@ -23,7 +23,6 @@
|
|||
|
||||
exeext=@host_exeext@
|
||||
libdir=@libdir@
|
||||
gcc_version=@gcc_version@
|
||||
NOCOMMON_FLAG=@nocommon_flag@
|
||||
WARN_CFLAGS=@warn_cflags@
|
||||
gcc_tmake_file=@tmake_file@
|
||||
|
|
|
|||
|
|
@ -124,6 +124,10 @@ save_string (const char *s, int len)
|
|||
|
||||
#if defined(_WIN32) && defined(ENABLE_WIN32_REGISTRY)
|
||||
|
||||
#ifndef WIN32_REGISTRY_KEY
|
||||
# define WIN32_REGISTRY_KEY BASEVER
|
||||
#endif
|
||||
|
||||
/* Look up "key" in the registry, as above. */
|
||||
|
||||
static char *
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
2005-03-15 Zack Weinberg <zack@codesourcery.com>
|
||||
|
||||
* Make-lang.in (TEXI_TREELANG_FILES): Add gcc-vers.texi.
|
||||
|
||||
2005-03-06 James A. Morrison <phython@gcc.gnu.org>
|
||||
|
||||
PR other/20326
|
||||
|
|
|
|||
|
|
@ -166,7 +166,8 @@ TEXI_TREELANG_FILES = treelang/treelang.texi \
|
|||
$(docdir)/include/gcc-common.texi \
|
||||
$(docdir)/include/gpl.texi \
|
||||
$(docdir)/include/fdl.texi \
|
||||
$(docdir)/include/funding.texi
|
||||
$(docdir)/include/funding.texi \
|
||||
gcc-vers.texi
|
||||
|
||||
doc/treelang.info: $(TEXI_TREELANG_FILES)
|
||||
$(MAKEINFO) $(MAKEINFOFLAGS) -I $(docdir)/include -o $@ $<
|
||||
|
|
|
|||
|
|
@ -1,11 +1,14 @@
|
|||
#include "version.h"
|
||||
|
||||
/* This is the string reported as the version number by all components
|
||||
of the compiler. If you distribute a modified version of GCC,
|
||||
please modify this string to indicate that, e.g. by putting your
|
||||
organization's name in parentheses at the end of the string. */
|
||||
/* This is the trailing component of the string reported as the
|
||||
version number by all components of the compiler. For an official
|
||||
FSF release, it is empty. If you distribute a modified version of
|
||||
GCC, please change this string to indicate that. The suggested
|
||||
format is a leading space, followed by your organization's name
|
||||
in parentheses. You may also wish to include a number indicating
|
||||
the revision of your modified compiler. */
|
||||
|
||||
const char version_string[] = "4.1.0 20050316 (experimental)";
|
||||
#define VERSUFFIX ""
|
||||
|
||||
/* This is the location of the online document giving instructions for
|
||||
reporting bugs. If you distribute a modified version of GCC,
|
||||
|
|
@ -15,3 +18,8 @@ const char version_string[] = "4.1.0 20050316 (experimental)";
|
|||
not bugs in your modifications.) */
|
||||
|
||||
const char bug_report_url[] = "<URL:http://gcc.gnu.org/bugs.html>";
|
||||
|
||||
/* The complete version string, assembled from several pieces.
|
||||
BASEVER, DATESTAMP, and DEVPHASE are defined by the Makefile. */
|
||||
|
||||
const char version_string[] = BASEVER DATESTAMP DEVPHASE VERSUFFIX;
|
||||
|
|
|
|||
|
|
@ -1,3 +1,11 @@
|
|||
2005-03-15 Zack Weinberg <zack@codesourcery.com>
|
||||
|
||||
* include/Makefile.am (c++config.h): Depend on DATESTAMP from gcc
|
||||
subdirectory. Generate #define of __GLIBCXX__ from contents of
|
||||
that file.
|
||||
* include/Makefile.in: Regenerate.
|
||||
* include/bits/c++config: Do not define __GLIBCXX__.
|
||||
|
||||
2005-03-15 Paolo Carlini <pcarlini@suse.de>
|
||||
|
||||
PR libstdc++/20352
|
||||
|
|
|
|||
|
|
@ -521,8 +521,11 @@ stamp-host: ${host_headers} ${host_headers_noinst} stamp-${host_alias}
|
|||
# Host includes dynamic.
|
||||
${host_builddir}/c++config.h: ${top_builddir}/config.h \
|
||||
${glibcxx_srcdir}/include/bits/c++config \
|
||||
stamp-${host_alias}
|
||||
stamp-${host_alias} \
|
||||
${toplevel_srcdir}/gcc/DATESTAMP
|
||||
@cat ${glibcxx_srcdir}/include/bits/c++config > $@ ;\
|
||||
sed -e 's/^/#define __GLIBCXX__ /' \
|
||||
< ${toplevel_srcdir}/gcc/DATESTAMP >> $@ ;\
|
||||
sed -e 's/HAVE_/_GLIBCXX_HAVE_/g' \
|
||||
-e 's/PACKAGE/_GLIBCXX_PACKAGE/g' \
|
||||
-e 's/VERSION/_GLIBCXX_VERSION/g' \
|
||||
|
|
|
|||
|
|
@ -900,8 +900,11 @@ stamp-host: ${host_headers} ${host_headers_noinst} stamp-${host_alias}
|
|||
# Host includes dynamic.
|
||||
${host_builddir}/c++config.h: ${top_builddir}/config.h \
|
||||
${glibcxx_srcdir}/include/bits/c++config \
|
||||
stamp-${host_alias}
|
||||
stamp-${host_alias} \
|
||||
${toplevel_srcdir}/gcc/DATESTAMP
|
||||
@cat ${glibcxx_srcdir}/include/bits/c++config > $@ ;\
|
||||
sed -e 's/^/#define __GLIBCXX__ /' \
|
||||
< ${toplevel_srcdir}/gcc/DATESTAMP >> $@ ;\
|
||||
sed -e 's/HAVE_/_GLIBCXX_HAVE_/g' \
|
||||
-e 's/PACKAGE/_GLIBCXX_PACKAGE/g' \
|
||||
-e 's/VERSION/_GLIBCXX_VERSION/g' \
|
||||
|
|
|
|||
|
|
@ -34,9 +34,6 @@
|
|||
// Pick up any OS-specific definitions.
|
||||
#include <bits/os_defines.h>
|
||||
|
||||
// The current version of the C++ library in compressed ISO date format.
|
||||
#define __GLIBCXX__ 20050316
|
||||
|
||||
// Allow use of "export template." This is currently not a feature
|
||||
// that g++ supports.
|
||||
// #define _GLIBCXX_EXPORT_TEMPLATE 1
|
||||
|
|
|
|||
|
|
@ -1,3 +1,11 @@
|
|||
2005-03-15 Zack Weinberg <zack@codesourcery.com>
|
||||
|
||||
* README: Update.
|
||||
* gcc_release: Update gcc/DEV-PHASE if that file exists, instead
|
||||
of gcc/version.c.
|
||||
* update_version: Handle updating gcc/DATESTAMP.
|
||||
* update_web_docs: Generate gcc-vers.texi first.
|
||||
|
||||
2005-03-10 Ranjit Mathew <rmathew@hotmail.com>
|
||||
|
||||
* gcc_release (ADA_DIRS): Add "gnattools".
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
This directory contains various files used by the gccadmin account on
|
||||
gcc.gnu.org, mainly for automated tasks such as the daily update of
|
||||
the date in version.c. There isn't presently any scheme for files
|
||||
the date in gcc/DATESTAMP. There isn't presently any scheme for files
|
||||
checked in here to be automatically checked out and used by gccadmin,
|
||||
so the files in CVS and those used by gccadmin must be kept in sync
|
||||
manually.
|
||||
|
|
|
|||
|
|
@ -140,7 +140,16 @@ EOF
|
|||
fi
|
||||
done
|
||||
|
||||
# Update `gcc/version.c'.
|
||||
# Update gcc/DEV-PHASE if it exists, otherwise gcc/version.c.
|
||||
|
||||
if [ -f ${SOURCE_DIRECTORY}/gcc/DEV-PHASE ]; then
|
||||
[ `cat ${SOURCE_DIRECTORY}/gcc/BASE-VER` = ${RELEASE} ] || \
|
||||
error "Release number ${RELEASE} does not match BASE-VER"
|
||||
(changedir ${SOURCE_DIRECTORY}/gcc && \
|
||||
: > DEV-PHASE && \
|
||||
${CVS} ci -m 'Mark as release' DEV-PHASE) || \
|
||||
error "Could not update DEV-PHASE"
|
||||
else
|
||||
for x in gcc/version.c; do
|
||||
y=`basename ${x}`
|
||||
(changedir `dirname ${SOURCE_DIRECTORY}/${x}` && \
|
||||
|
|
@ -149,6 +158,7 @@ EOF
|
|||
${CVS} ci -m 'Update version' ${y}) || \
|
||||
error "Could not update ${x}"
|
||||
done
|
||||
fi
|
||||
|
||||
# Make sure we tag the sources for a final release.
|
||||
TAG="gcc_`echo ${RELEASE} | tr . _`_release"
|
||||
|
|
|
|||
|
|
@ -36,6 +36,11 @@ textstring_FILES="gcc/gcc/version.c"
|
|||
# version is contained within a #define
|
||||
cppdefine_FILES="gcc/libstdc++-v3/include/bits/c++config"
|
||||
|
||||
# version is all there is
|
||||
datestamp_FILES="gcc/gcc/DATESTAMP"
|
||||
|
||||
FILES="$textstring_FILES $cppdefine_FILES $datestamp_FILES"
|
||||
|
||||
# Assume all will go well.
|
||||
RESULT=0
|
||||
|
||||
|
|
@ -45,9 +50,9 @@ for BRANCH in $BRANCHES; do
|
|||
# you check out files with -r HEAD, CVS will not let you check
|
||||
# in changes.
|
||||
if test "$BRANCH" = HEAD; then
|
||||
${CVS} co $textstring_FILES $cppdefine_FILES
|
||||
${CVS} co $FILES
|
||||
else
|
||||
${CVS} co -r $BRANCH $textstring_FILES $cppdefine_FILES
|
||||
${CVS} co -r $BRANCH $FILES
|
||||
fi
|
||||
|
||||
# There are no files to commit yet.
|
||||
|
|
@ -81,6 +86,19 @@ for BRANCH in $BRANCHES; do
|
|||
fi
|
||||
done
|
||||
|
||||
for file in $datestamp_FILES; do
|
||||
if test -f $file; then
|
||||
echo ${CURR_DATE} > $file.new
|
||||
|
||||
if /usr/bin/cmp -s $file $file.new; then
|
||||
rm -f $file.new
|
||||
else
|
||||
mv -f $file.new $file
|
||||
COMMIT_FILES="$COMMIT_FILES $file"
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
||||
if test -n "$COMMIT_FILES" \
|
||||
&& ! ${CVS} commit -m "Daily bump." $COMMIT_FILES; then
|
||||
# If we could not commit the files, indicate failure.
|
||||
|
|
|
|||
|
|
@ -88,7 +88,7 @@ find $CVSROOT/gcc -name \*.texi,v -print | fgrep -v -f/home/gccadmin/scripts/doc
|
|||
|
||||
|
||||
# Checkout all the texi files.
|
||||
cvs -Q export -r$RELEASE `cat FILES` gcc/gcc/doc/install.texi2html gcc/gcc/doc/include/texinfo.tex gcc/gcc/ada/xgnatugn.adb gcc/gcc/ada/ug_words
|
||||
cvs -Q export -r$RELEASE `cat FILES` gcc/gcc/doc/install.texi2html gcc/gcc/doc/include/texinfo.tex gcc/gcc/ada/xgnatugn.adb gcc/gcc/ada/ug_words gcc/gcc/BASE-VER gcc/gcc/DEV-PHASE
|
||||
|
||||
# Build a tarball of the sources.
|
||||
tar cf docs-sources.tar gcc
|
||||
|
|
@ -107,6 +107,16 @@ if [ -f gcc/gcc/ada/xgnatugn.adb ]; then
|
|||
gcc/gcc/ada/ug_words gnat_ugn_unw.texi
|
||||
fi
|
||||
|
||||
# Generate gcc-vers.texi.
|
||||
(
|
||||
echo "@set version-GCC $(cat gcc/gcc/BASE-VER)"
|
||||
if "$(cat gcc/gcc/DEV-PHASE)" = "experimental"; then
|
||||
echo "@set DEVELOPMENT"
|
||||
else
|
||||
echo "@clear DEVELOPMENT"
|
||||
fi
|
||||
) > $includedir/gcc-vers.texi
|
||||
|
||||
# Now convert the relevant files from texi to HTML and PostScript.
|
||||
for file in $MANUALS; do
|
||||
filename=`find . -name ${file}.texi`
|
||||
|
|
|
|||
Loading…
Reference in New Issue