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: bootstrap w/o symlink



Partail resubmit to complete fix for building without symbolic links

For gcc:
  The prior patch file was correct, but the result in the CVS contained
  an extra line; delete it.

For g77: provide a working HOST_CC by computing the relative pathname.
  Changing HOST_CC at the top level breaks other things.


ChangeLog for gcc:

Sat Apr 3  20:20:56 MST 1999 Donn Terry (donn@interix.com)
	* configure.in (SUBDIR_FLAGS_TO_PASS): Fix misapplied patch.
	* configure: Rebuilt.


ChangeLog for f:

Sat Apr 3  20:20:56 MST 1999 Donn Terry (donn@interix.com)
	* Make-lang.in (HOST_CFLAGS): compute dynamically.

diff -urP egcs.source.old/gcc/Makefile.in egcs.source/gcc/Makefile.in
--- egcs.source.old/gcc/Makefile.in	Sat Apr  3 19:20:11 1999
+++ egcs.source/gcc/Makefile.in	Sat Apr  3 20:41:06 1999
@@ -655,7 +655,6 @@
 	-e 's|%% *|../|g' \
 	-e 's|%||g'
 SUBDIR_FLAGS_TO_PASS = $(ORDINARY_FLAGS_TO_PASS) \
-  "CC=`echo @cc_set_by_configure@ | $(PREPEND_DOTDOT_TO_RELATIVE_PATHS)`"
   "CC=`echo @quoted_cc_set_by_configure@ | $(PREPEND_DOTDOT_TO_RELATIVE_PATHS)`"
 #
 # Lists of files for various purposes.
diff -urP egcs.source.old/gcc/f/Make-lang.in egcs.source/gcc/f/Make-lang.in
--- egcs.source.old/gcc/f/Make-lang.in	Sat Apr  3 19:23:59 1999
+++ egcs.source/gcc/f/Make-lang.in	Sat Apr  3 21:06:30 1999
@@ -203,7 +203,8 @@
 f771$(exeext): $(P) $(F77_SRCS) $(LIBDEPS) stamp-objlist
 	touch lang-f77
 	cd f; $(MAKE) $(FLAGS_TO_PASS) \
-	  HOST_CC="$(HOST_CC)" HOST_CFLAGS="$(HOST_CFLAGS)" HOST_CPPFLAGS="$(HOST_CPPFLAGS)" \
+	  HOST_CC="`case '$(HOST_CC)' in stage*) echo '$(HOST_CC)' | sed -e 's|stage|../stage|g';; *) echo '$(HOST_CC)';; esac`" \
+	  HOST_CFLAGS="$(HOST_CFLAGS)" HOST_CPPFLAGS="$(HOST_CPPFLAGS)" \
 	  ../f771$(exeext)
 
 #

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