This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Hapless User Hint (like me :)


May I please ask, why was the `exit 1' added at the end here?  This
caused my builds to quietly exit after firing the stmp-fixinc rule.
Does this indicate something wrong with my setup?

> ===================================================================
> RCS file: /cvs/egcs/egcs/gcc/Makefile.in,v
> retrieving revision 1.285
> diff -u -r1.285 Makefile.in
> --- Makefile.in 1999/08/31 20:37:08     1.285
> +++ Makefile.in 1999/09/01 13:44:11
> @@ -1320,7 +1320,10 @@
>  
>  $(srcdir)/c-gperf.h: c-parse.gperf
>         gperf -L C -F ', 0, 0' -p -j1 -i 1 -g -o -t -G -N is_reserved_word \
> -          -k1,3,$$ $(srcdir)/c-parse.gperf >tmp-gperf.h
> +          -k1,3,$$ $(srcdir)/c-parse.gperf >tmp-gperf.h || ( \
> +       echo "Please update your 'gperf' from the GCC infrastructure" >&2 ; \
> +       echo "  ftp://sourceware.cygnus.com/pub/egcs/infrastructure/gperf*" >&2 ; \
> +       exit 1 )
>          $(srcdir)/move-if-change tmp-gperf.h $(srcdir)/c-gperf.h
>  
>  c-decl.o : c-decl.c $(CONFIG_H) system.h $(TREE_H) c-tree.h c-common.h \
> @@ -2169,7 +2172,7 @@
>           if [ -d $(libdir)/gcc-lib/$(target_alias) ] ; then true ; else mkdir $(libdir)/gcc-lib/$(target_alias) ; fi; \
>           if [ -d $(libdir)/gcc-lib/$(target_alias)/$(version) ] ; then true ; else mkdir $(libdir)/gcc-lib/$(target_alias)/$(version) ; fi; \
>         else true; fi
> -
> +       exit 1
>         touch stmp-fixinc

-- 
Michael Duggan
(md5i@cs.cmu.edu)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]