mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-18 03:10:26 +08:00
Makefile.in (LN): Add new symbol.
* Makefile.in (LN): Add new symbol. (FLAGS_TO_PASS): Pass it down. (stage[1-4]-start): Use $(LN), not "ln -s". Bring over from gcc2. From-SVN: r15392
This commit is contained in:
parent
04395f964f
commit
dc3fce9020
@ -1,3 +1,9 @@
|
||||
Wed Sep 10 16:16:07 1997 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
|
||||
|
||||
* Makefile.in (LN): Add new symbol.
|
||||
(FLAGS_TO_PASS): Pass it down.
|
||||
(stage[1-4]-start): Use $(LN), not "ln -s".
|
||||
|
||||
Wed Sep 10 14:58:40 1997 Jim Wilson <wilson@cygnus.com>
|
||||
|
||||
* emit-rtl.c (gen_lowpart_common): For a SUBREG, add in word when
|
||||
|
@ -73,6 +73,7 @@ LEX = flex
|
||||
LEXFLAGS =
|
||||
AR = ar
|
||||
AR_FLAGS = rc
|
||||
LN = @symbolic_link@
|
||||
DLLTOOL = dlltool
|
||||
SHELL = /bin/sh
|
||||
# on sysV, define this as cp.
|
||||
@ -530,6 +531,7 @@ FLAGS_TO_PASS = \
|
||||
"LDFLAGS=$(LDFLAGS)" \
|
||||
"LEX=$(LEX)" \
|
||||
"LEXFLAGS=$(LEXFLAGS)" \
|
||||
"LN=$(LN)" \
|
||||
"MAKEINFO=$(MAKEINFO)" \
|
||||
"MAKEINFOFLAGS=$(MAKEINFOFLAGS)" \
|
||||
"RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
|
||||
@ -2660,9 +2662,9 @@ stage1-start:
|
||||
-mv $(STAGESTUFF) stage1
|
||||
# Copy as/ld if they exist to stage dir, so that running xgcc from the stage
|
||||
# dir will work properly.
|
||||
-if [ -f as$(exeext) ] ; then ln -s ../as$(exeext) stage1 || cp as$(exeext) stage1 ; else true ; fi
|
||||
-if [ -f ld$(exeext) ] ; then ln -s ../ld$(exeext) stage1 || cp ld$(exeext) stage1 ; else true ; fi
|
||||
-if [ -f collect-ld$(exeext) ] ; then ln -s ../collect-ld$(exeext) stage1 || cp collect-ld$(exeext) stage1 ; else true ; fi
|
||||
-if [ -f as$(exeext) ] ; then $(LN) ../as$(exeext) stage1 ; else true ; fi
|
||||
-if [ -f ld$(exeext) ] ; then $(LN) ../ld$(exeext) stage1 ; else true ; fi
|
||||
-if [ -f collect-ld$(exeext) ] ; then $(LN) ../collect-ld$(exeext) stage1 ; else true ; fi
|
||||
-rm -f stage1/libgcc.a
|
||||
-cp libgcc.a stage1
|
||||
-if $(RANLIB_TEST) ; then $(RANLIB) stage1/libgcc.a; else true; fi
|
||||
@ -2681,9 +2683,9 @@ stage2-start:
|
||||
-mv $(STAGESTUFF) stage2
|
||||
# Copy as/ld if they exist to stage dir, so that running xgcc from the stage
|
||||
# dir will work properly.
|
||||
-if [ -f as$(exeext) ] ; then ln -s ../as$(exeext) stage2 || cp as$(exeext) stage2 ; else true ; fi
|
||||
-if [ -f ld$(exeext) ] ; then ln -s ../ld$(exeext) stage2 || cp ld$(exeext) stage2 ; else true ; fi
|
||||
-if [ -f collect-ld ] ; then ln -s ../collect-ld$(exeext) stage2 || cp collect-ld$(exeext) stage2 ; else true ; fi
|
||||
-if [ -f as$(exeext) ] ; then $(LN) ../as$(exeext) stage2 ; else true ; fi
|
||||
-if [ -f ld$(exeext) ] ; then $(LN) ../ld$(exeext) stage2 ; else true ; fi
|
||||
-if [ -f collect-ld ] ; then $(LN) ../collect-ld$(exeext) stage2 ; else true ; fi
|
||||
-rm -f stage2/libgcc.a
|
||||
-cp libgcc.a stage2
|
||||
-if $(RANLIB_TEST) ; then $(RANLIB) stage2/libgcc.a; else true; fi
|
||||
@ -2702,9 +2704,9 @@ stage3-start:
|
||||
-mv $(STAGESTUFF) stage3
|
||||
# Copy as/ld if they exist to stage dir, so that running xgcc from the stage
|
||||
# dir will work properly.
|
||||
-if [ -f as$(exeext) ] ; then ln -s ../as$(exeext) stage3 || cp as$(exeext) stage3 ; else true ; fi
|
||||
-if [ -f ld$(exeext) ] ; then ln -s ../ld$(exeext) stage3 || cp ld$(exeext) stage3 ; else true ; fi
|
||||
-if [ -f collect-ld$(exeext) ] ; then ln -s ../collect-ld$(exeext) stage3 || cp collect-ld$(exeext) stage3 ; else true ; fi
|
||||
-if [ -f as$(exeext) ] ; then $(LN) ../as$(exeext) stage3 ; else true ; fi
|
||||
-if [ -f ld$(exeext) ] ; then $(LN) ../ld$(exeext) stage3 ; else true ; fi
|
||||
-if [ -f collect-ld$(exeext) ] ; then $(LN) ../collect-ld$(exeext) stage3 ; else true ; fi
|
||||
-rm -f stage3/libgcc.a
|
||||
-cp libgcc.a stage3
|
||||
-if $(RANLIB_TEST) ; then $(RANLIB) stage3/libgcc.a; else true; fi
|
||||
@ -2723,9 +2725,9 @@ stage4-start:
|
||||
-mv $(STAGESTUFF) stage4
|
||||
# Copy as/ld if they exist to stage dir, so that running xgcc from the stage
|
||||
# dir will work properly.
|
||||
-if [ -f as$(exeext) ] ; then ln -s ../as$(exeext) stage4 || cp as$(exeext) stage4 ; else true ; fi
|
||||
-if [ -f ld$(exeext) ] ; then ln -s ../ld$(exeext) stage4 || cp ld$(exeext) stage4 ; else true ; fi
|
||||
-if [ -f collect-ld$(exeext) ] ; then ln -s ../collect-ld$(exeext) stage4 || cp collect-ld$(exeext) stage4 ; else true ; fi
|
||||
-if [ -f as$(exeext) ] ; then $(LN) ../as$(exeext) stage4 ; else true ; fi
|
||||
-if [ -f ld$(exeext) ] ; then $(LN) ../ld$(exeext) stage4 ; else true ; fi
|
||||
-if [ -f collect-ld$(exeext) ] ; then $(LN) ../collect-ld$(exeext) stage4 ; else true ; fi
|
||||
-rm -f stage4/libgcc.a
|
||||
-cp libgcc.a stage4
|
||||
-if $(RANLIB_TEST) ; then $(RANLIB) stage4/libgcc.a; else true; fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user