diff options
author | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 1993-04-09 19:34:47 +0000 |
---|---|---|
committer | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 1993-04-09 19:34:47 +0000 |
commit | 6005991e66ae3ec56b91e29ff14c429c71ee746b (patch) | |
tree | 9a9f3f6412d8f594490e4d10e84c0a1c89882b80 /gcc/Makefile.in | |
parent | 4edc6c5700685ef5689e91511f8e057ffa55fa56 (diff) | |
download | gcc-6005991e66ae3ec56b91e29ff14c429c71ee746b.tar.gz |
Install as $(target)-gcc, not gcc-$(target)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4054 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/Makefile.in')
-rw-r--r-- | gcc/Makefile.in | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/Makefile.in b/gcc/Makefile.in index 36ee1b2e23b..6de1f748164 100644 --- a/gcc/Makefile.in +++ b/gcc/Makefile.in @@ -1551,10 +1551,10 @@ install-common: native install-dir xgcc $(EXTRA_PARTS) rm -f $(libsubdir)/specs; \ $(INSTALL_DATA) specs $(libsubdir)/specs; \ fi -# Install the driver program as gcc-$(target) +# Install the driver program as $(target)-gcc # and also as either gcc (if native) or $(tooldir)/bin/gcc. -if [ -f gcc-cross ] ; then \ - $(INSTALL_PROGRAM) gcc-cross $(bindir)/gcc-$(target); \ + $(INSTALL_PROGRAM) gcc-cross $(bindir)/$(target)-gcc; \ if [ -d $(tooldir)/bin/. ] ; then \ rm -f $(tooldir)/bin/gcc; \ $(INSTALL_PROGRAM) gcc-cross $(tooldir)/bin/gcc; \ @@ -1562,9 +1562,9 @@ install-common: native install-dir xgcc $(EXTRA_PARTS) else \ rm -f $(bindir)/gcc; \ $(INSTALL_PROGRAM) xgcc $(bindir)/gcc; \ - rm -f $(bindir)/gcc-$(target)-1; \ - ln $(bindir)/gcc $(bindir)/gcc-$(target)-1; \ - mv $(bindir)/gcc-$(target)-1 $(bindir)/gcc-$(target); \ + rm -f $(bindir)/$(target)-gcc-1; \ + ln $(bindir)/gcc $(bindir)/$(target)-gcc-1; \ + mv $(bindir)/$(target)-gcc-1 $(bindir)/$(target)-gcc; \ fi # Install protoize if it was compiled. -if [ -f protoize ]; \ |