Lines 2860-2866
Link Here
|
2860 |
# Install the driver last so that the window when things are |
2860 |
# Install the driver last so that the window when things are |
2861 |
# broken is small. |
2861 |
# broken is small. |
2862 |
install: install-common $(INSTALL_HEADERS) $(INSTALL_LIBGCC) \ |
2862 |
install: install-common $(INSTALL_HEADERS) $(INSTALL_LIBGCC) \ |
2863 |
install-cpp install-man install-info install-@POSUB@ \ |
2863 |
install-cpp install-@POSUB@ \ |
2864 |
lang.install-normal install-driver |
2864 |
lang.install-normal install-driver |
2865 |
|
2865 |
|
2866 |
# Handle cpp installation. |
2866 |
# Handle cpp installation. |
Lines 2934-2955
Link Here
|
2934 |
# $(target_noncanonical)-gcc-$(version) |
2934 |
# $(target_noncanonical)-gcc-$(version) |
2935 |
# and also as either gcc (if native) or $(gcc_tooldir)/bin/gcc. |
2935 |
# and also as either gcc (if native) or $(gcc_tooldir)/bin/gcc. |
2936 |
install-driver: installdirs xgcc$(exeext) |
2936 |
install-driver: installdirs xgcc$(exeext) |
2937 |
-rm -f $(DESTDIR)$(bindir)/$(GCC_INSTALL_NAME)$(exeext) |
|
|
2938 |
-$(INSTALL_PROGRAM) xgcc$(exeext) $(DESTDIR)$(bindir)/$(GCC_INSTALL_NAME)$(exeext) |
2937 |
-$(INSTALL_PROGRAM) xgcc$(exeext) $(DESTDIR)$(bindir)/$(GCC_INSTALL_NAME)$(exeext) |
2939 |
-rm -f $(DESTDIR)$(bindir)/$(target_noncanonical)-gcc-$(version) |
|
|
2940 |
-( cd $(DESTDIR)$(bindir) && \ |
2941 |
$(LN) $(GCC_INSTALL_NAME)$(exeext) $(target_noncanonical)-gcc-$(version) ) |
2942 |
-if [ -f gcc-cross$(exeext) ] ; then \ |
2943 |
if [ -d $(DESTDIR)$(gcc_tooldir)/bin/. ] ; then \ |
2944 |
rm -f $(DESTDIR)$(gcc_tooldir)/bin/gcc$(exeext); \ |
2945 |
$(INSTALL_PROGRAM) gcc-cross$(exeext) $(DESTDIR)$(gcc_tooldir)/bin/gcc$(exeext); \ |
2946 |
else true; fi; \ |
2947 |
else \ |
2948 |
rm -f $(DESTDIR)$(bindir)/$(target_noncanonical)-gcc-tmp$(exeext); \ |
2949 |
( cd $(DESTDIR)$(bindir) && \ |
2950 |
$(LN) $(GCC_INSTALL_NAME)$(exeext) $(target_noncanonical)-gcc-tmp$(exeext) && \ |
2951 |
mv -f $(target_noncanonical)-gcc-tmp$(exeext) $(GCC_TARGET_INSTALL_NAME)$(exeext) ); \ |
2952 |
fi |
2953 |
|
2938 |
|
2954 |
# Install the info files. |
2939 |
# Install the info files. |
2955 |
# $(INSTALL_DATA) might be a relative pathname, so we can't cd into srcdir |
2940 |
# $(INSTALL_DATA) might be a relative pathname, so we can't cd into srcdir |