doing a 3stage including the cp subdirectory

Brendan Kehoe brendan@cygnus.com
Wed Sep 17 16:59:00 GMT 1997


FYI, the patch below (which just got checked in, too late for the 970917
snapshot) should make it possible again to do a 3stage that includes the C++
compiler & its components.

B

1997-09-17  Brendan Kehoe  <brendan@lisa.cygnus.com>

	* configure.in, configure: Make sure to create the stage* and include
	symbolic links in each subdirectory, as we do in configure.lang for
	non-autoconf configurations.

*** configure.in.~1~	Wed Sep 17 16:13:46 1997
--- configure.in	Wed Sep 17 16:13:51 1997
***************
*** 3145,3148 ****
--- 3145,3161 ----
  echo > cstamp-h ;;
  esac
+ # Make sure we create things so -Bstage1/ will work.
+ for d in .. ${subdirs} ; do
+   if [ $d != .. ]; then
+ 	STARTDIR=`pwd`
+ 	cd $d
+ 	for t in stage1 stage2 stage3 stage4 include
+ 	do
+ 		rm -f $t
+ 		$symbolic_link ../$t $t 2>/dev/null
+ 	done
+ 	cd $STARTDIR
+   fi
+ done
  ],
  [
*** configure.~1~	Wed Sep 17 16:13:48 1997
--- configure	Wed Sep 17 16:13:51 1997
***************
*** 5049,5052 ****
--- 5049,5065 ----
  echo > cstamp-h ;;
  esac
+ # Make sure we create things so -Bstage1/ will work.
+ for d in .. ${subdirs} ; do
+   if [ $d != .. ]; then
+ 	STARTDIR=`pwd`
+ 	cd $d
+ 	for t in stage1 stage2 stage3 stage4 include
+ 	do
+ 		rm -f $t
+ 		$symbolic_link ../$t $t 2>/dev/null
+ 	done
+ 	cd $STARTDIR
+   fi
+ done
  
  exit 0

--
Brendan Kehoe                                               brendan@cygnus.com
Cygnus Solutions, Sunnyvale, CA                                +1 408 542 9600

Web page: http://www.zen.org/~brendan/



More information about the Gcc mailing list