egcs/gcc ChangeLog Makefile.in config.in confi ...
Bo Thorsen
bo@sonofthor.dk
Wed Jan 9 08:01:00 GMT 2002
This patch broke the builds. Reverting to configure version 1.583 and
Makefile.in version 1.817 solved the problem.
The problem shows itself when you only use --enable-languages=c, since that
makes lang_tree_files be an empty variable. This in turn makes this Makefile
code invalid:
gencheck.h : s-gencheck ; @true
s-gencheck : Makefile
for t in $(lang_tree_files); do \
echo "#include \"$$t\""; \
done | sed 's|$(srcdir)/||' > tmp-gencheck.h
$(SHELL) $(srcdir)/move-if-change tmp-gencheck.h gencheck.h
$(STAMP) s-gencheck
because it's illegal to do "for t in ; do" in bash (not in zsh). When
reverting, the above rule doesn't get generated to the Makefile.
I don't know if this is general for all builds or not. I just noticed it in
my build scripts for x86-64 cross compilation.
Bo.
On Tuesday 08 January 2002 20:03, zack@gcc.gnu.org wrote:
> CVSROOT: /cvs/gcc
> Module name: egcs
> Changes by: zack@gcc.gnu.org 2002-01-08 11:03:22
>
> Modified files:
> gcc : ChangeLog Makefile.in config.in configure
> configure.in cppinit.c intl.c unwind-dw2.c
> unwind-sjlj.c
> gcc/config/ia64: unwind-ia64.c
> gcc/doc : cpp.texi
>
> Log message:
> * Makefile.in (cs-tconfig.h): Don't depend on $(CONFIG_H) or
> except.h. Remove commands to define USING_SJLJ_EXCEPTIONS.
> (cppinit.o): Depend on except.h.
> (gencheck.h, options.h, specs.h, s-gencheck, s-options,
> s-specs): New rules.
>
> * configure.in: Don't AC_DEFINE_UNQUOTED PACKAGE or VERSION.
> Don't create specs.h/options.h/gencheck.h here. Remove
> unnecessary variable settings from last argument of AC_OUTPUT.
> * config.in, configure: Regenerate.
> * intl.c: Hardcode package name as "gcc".
>
> * cppinit.c: Include except.h.
> (builtin_array): Define __USING_SJLJ_EXCEPTIONS__ when
> appropriate.
> * unwind-dw2.c, unwind-sjlj.c, config/ia64/unwind-ia64.c:
> Use #if(n)def __USING_SJLJ_EXCEPTIONS, not #if
> (!)USING_SJLJ_EXCEPTIONS.
> * doc/cpp.texi: Document __USING_SJLJ_EXCEPTIONS__.
>
> Patches:
> http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/ChangeLog.diff?cvsroot=gcc&r
>1=1.12596&r2=1.12597
> http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/Makefile.in.diff?cvsroot=gcc
>&r1=1.817&r2=1.818
> http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/config.in.diff?cvsroot=gcc&r
>1=1.131&r2=1.132
> http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/configure.diff?cvsroot=gcc&r
>1=1.583&r2=1.584
> http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/configure.in.diff?cvsroot=gc
>c&r1=1.573&r2=1.574
> http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/cppinit.c.diff?cvsroot=gcc&r
>1=1.196&r2=1.197
> http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/intl.c.diff?cvsroot=gcc&r1=1
>.4&r2=1.5
> http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/unwind-dw2.c.diff?cvsroot=gc
>c&r1=1.15&r2=1.16
> http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/unwind-sjlj.c.diff?cvsroot=g
>cc&r1=1.5&r2=1.6
> http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/config/ia64/unwind-ia64.c.di
>ff?cvsroot=gcc&r1=1.3&r2=1.4
> http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/doc/cpp.texi.diff?cvsroot=gc
>c&r1=1.20&r2=1.21
--
Bo Thorsen | Praestevejen 4
Free software developer | 5290 Marslev
SuSE Labs | Denmark
More information about the Gcc
mailing list