Strange behavior

Manfred Hollstein manfred@s-direktnet.de
Sat Nov 15 12:52:00 GMT 1997


On Sat, 15 November 1997, 14:04:36, manfred@s-direktnet.de wrote:

    On Wed, 12 November 1997, 12:22:55, jackson@msrce.howard.edu wrote:
    
        >None of the possible 'make bootstrap*' rules invoke _any_ compare*
        >targets;
        
        It is true that the gcc/Makefile bootstrap* targets do not 'compare' but, if you 
        look in the top level Makefile, you will see the bootstrap* targets that I _am_ 
        talking about.
        
    Aahh, now I see your problem; shame  on me, as I  made the most recent
    changes to the bootstrap handling :-(
    
    I'm sorry, can  you please tell  me exactly, how  you called make with
    what results?
    
This patch should fix it.

Sat Nov 15 21:49:04 1997  Manfred Hollstein  <manfred@s-direktnet.de>

	* Makefile.in (compare, compare-lean): Define $stage for each
	shell command.
	(gnucompare, gnucompare-lean): Likewise.

*** egcs-971114.orig/gcc/Makefile.in	Wed Nov  5 03:22:37 1997
--- egcs-971114/gcc/Makefile.in	Sat Nov 15 21:48:43 1997
*************** compare compare3 compare4 compare-lean c
*** 2624,2629 ****
--- 2624,2630 ----
  	  fi; \
  	done
  	-rm -f tmp-foo*
+ 	case "$@" in compare | compare-lean ) stage=2 ;; * ) stage=`echo $@ | sed -e 's,^compare\([0-9][0-9]*\).*,\1,'` ;; esac; \
  	if [ -f .bad_compare ]; then \
  	  echo "Bootstrap comparison failure!"; \
  	  cat .bad_compare; \
*************** gnucompare gnucompare3 gnucompare4 gnuco
*** 2652,2657 ****
--- 2653,2659 ----
  	    done; \
  	  fi; \
  	done
+ 	case "$@" in gnucompare | gnucompare-lean ) stage=2 ;; * ) stage=`echo $@ | sed -e 's,^gnucompare\([0-9][0-9]*\).*,\1,'` ;; esac; \
  	if [ -f .bad_compare ]; then \
  	  echo "Bootstrap comparison failure!"; \
  	  cat .bad_compare; \



More information about the Gcc-bugs mailing list