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]
Other format: [Raw text]

[nvptx-tools, committed] Also install [...]/nvptx-none/bin/ar and [...]/nvptx-none/bin/ranlib.


GCC needs this, if nvptx-none-ar and nvptx-none-ranlib aren't found in $PATH.
---
 tools/Makefile.in | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git tools/Makefile.in tools/Makefile.in
index 6829e29..8dcedbc 100644
--- tools/Makefile.in
+++ tools/Makefile.in
@@ -45,11 +45,15 @@ install: all
 	for x in $(PROGRAMS); do \
 		$(INSTALL_PROGRAM) -m 755 $$x $(DESTDIR)$(bindir)/$$x; \
 	done
-	rm -f $(DESTDIR)$(prefix)/nvptx-none/bin/as
-	rm -f $(DESTDIR)$(prefix)/nvptx-none/bin/ld
 	rm -f $(DESTDIR)$(bindir)/nvptx-none-ar
 	rm -f $(DESTDIR)$(bindir)/nvptx-none-ranlib
-	$(LN_S) $(DESTDIR)$(bindir)/nvptx-none-as  $(DESTDIR)$(prefix)/nvptx-none/bin/as
-	$(LN_S) $(DESTDIR)$(bindir)/nvptx-none-ld  $(DESTDIR)$(prefix)/nvptx-none/bin/ld
 	$(LN_S) $(AR) $(DESTDIR)$(bindir)/nvptx-none-ar
 	$(LN_S) $(RANLIB) $(DESTDIR)$(bindir)/nvptx-none-ranlib
+	rm -f $(DESTDIR)$(prefix)/nvptx-none/bin/ar
+	rm -f $(DESTDIR)$(prefix)/nvptx-none/bin/as
+	rm -f $(DESTDIR)$(prefix)/nvptx-none/bin/ld
+	rm -f $(DESTDIR)$(prefix)/nvptx-none/bin/ranlib
+	$(LN_S) $(DESTDIR)$(bindir)/nvptx-none-ar  $(DESTDIR)$(prefix)/nvptx-none/bin/ar
+	$(LN_S) $(DESTDIR)$(bindir)/nvptx-none-as  $(DESTDIR)$(prefix)/nvptx-none/bin/as
+	$(LN_S) $(DESTDIR)$(bindir)/nvptx-none-ld  $(DESTDIR)$(prefix)/nvptx-none/bin/ld
+	$(LN_S) $(DESTDIR)$(bindir)/nvptx-none-ranlib  $(DESTDIR)$(prefix)/nvptx-none/bin/ranlib
-- 
1.8.1.1


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