[Bug libstdc++/99453] libstdc++*-gdb.py installation depends on library naming

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu May 27 10:30:48 GMT 2021


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99453

--- Comment #13 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Jonathan Wakely from comment #12)
> Like so:
> 
> 	@libname=`sed -ne "/^library_names=/{s/.*='//;s/'$$//;s/ .*//;p;}" \
> 	          $(DESTDIR)$(toolexeclibdir)/libstdc++.la`; \
> 	libname='' ; \

Oops, that line was present while testing, but shouldn't be there!

> 	if [ -z "$$libname" ]; then \
> 	  libname=`sed -ne "/^old_library=/{s/.*='//;s/'$$//;s/ .*//;p;}" \
> 		  $(DESTDIR)$(toolexeclibdir)/libstdc++.la`; \
> 	fi; \
> 	echo " $(INSTALL_DATA) gdb.py
> $(DESTDIR)$(toolexeclibdir)/$$libname-gdb.py"; \
> 	$(INSTALL_DATA) gdb.py $(DESTDIR)$(toolexeclibdir)/$$libname-gdb.py


More information about the Gcc-bugs mailing list