public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [Patch: sh-linux] shared libgcc install
@ 2004-02-06  3:17 SUGIOKA Toshinobu
  2004-02-06  4:36 ` Kaz Kojima
  2004-02-21 13:45 ` SUGIOKA Toshinobu
  0 siblings, 2 replies; 4+ messages in thread
From: SUGIOKA Toshinobu @ 2004-02-06  3:17 UTC (permalink / raw)
  To: gcc-patches; +Cc: linuxsh-dev

hi,
This fixes shared libgcc installation.
Please apply.

ChangeLog:

	* config/sh/t-linux (SHLIB_INSTALL): Prepend $$(DESTDIR)
	to $$(slibdir) in the installation commands.

Index: gcc/config/sh/t-linux
===================================================================
RCS file: /cvsroot/gcc/gcc/gcc/config/sh/t-linux,v
retrieving revision 1.9
diff -u -r1.9 t-linux
--- gcc/config/sh/t-linux	9 Oct 2003 04:21:51 -0000	1.9
+++ gcc/config/sh/t-linux	6 Feb 2004 03:03:53 -0000
@@ -27,9 +27,9 @@
 	 echo "GROUP ( $(SHLIB_SONAME) libgcc.a )" \
 	) > $(SHLIB_SOLINK)
 SHLIB_INSTALL = \
-	$$(SHELL) $$(srcdir)/mkinstalldirs $$(slibdir)$(SHLIB_SLIBDIR_QUAL); \
+	$$(SHELL) $$(srcdir)/mkinstalldirs $$(DESTDIR)$$(slibdir)$(SHLIB_SLIBDIR_QUAL); \
 	$(INSTALL_DATA) $(SHLIB_NAME) \
-	  $$(slibdir)$(SHLIB_SLIBDIR_QUAL)/$(SHLIB_SONAME); \
-	rm -f $$(slibdir)$(SHLIB_SLIBDIR_QUAL)/$(SHLIB_SOLINK); \
+	  $$(DESTDIR)$$(slibdir)$(SHLIB_SLIBDIR_QUAL)/$(SHLIB_SONAME); \
+	rm -f $$(DESTDIR)$$(slibdir)$(SHLIB_SLIBDIR_QUAL)/$(SHLIB_SOLINK); \
 	$(INSTALL_DATA) $(SHLIB_SOLINK) \
-	  $$(slibdir)$(SHLIB_SLIBDIR_QUAL)/$(SHLIB_SOLINK)
+	  $$(DESTDIR)$$(slibdir)$(SHLIB_SLIBDIR_QUAL)/$(SHLIB_SOLINK)

----
SUGIOKA Toshinobu

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Patch: sh-linux] shared libgcc install
  2004-02-06  3:17 [Patch: sh-linux] shared libgcc install SUGIOKA Toshinobu
@ 2004-02-06  4:36 ` Kaz Kojima
  2004-02-21 13:45   ` Kaz Kojima
  2004-02-21 13:45 ` SUGIOKA Toshinobu
  1 sibling, 1 reply; 4+ messages in thread
From: Kaz Kojima @ 2004-02-06  4:36 UTC (permalink / raw)
  To: gcc-patches; +Cc: sugioka, mark

SUGIOKA Toshinobu <sugioka@itonet.co.jp> wrote:
> This fixes shared libgcc installation.
> Please apply.
> 
> ChangeLog:
> 
> 	* config/sh/t-linux (SHLIB_INSTALL): Prepend $$(DESTDIR)
> 	to $$(slibdir) in the installation commands.

Looks fine to me.  Thanks.
Could you please write the target on which the patch was tested,
next time?  I suppose that sh-unknown-linux-gnu is.  I'll check
it in to mainline with adding a line of date and your name&addr
to ChangeLog.

Mark, can I check it in to 3.4-branch too, though it would not
be a pure regression?  Or I should wait 3.4.1?

Regards,
	kaz

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Patch: sh-linux] shared libgcc install
  2004-02-06  3:17 [Patch: sh-linux] shared libgcc install SUGIOKA Toshinobu
  2004-02-06  4:36 ` Kaz Kojima
@ 2004-02-21 13:45 ` SUGIOKA Toshinobu
  1 sibling, 0 replies; 4+ messages in thread
From: SUGIOKA Toshinobu @ 2004-02-21 13:45 UTC (permalink / raw)
  To: gcc-patches; +Cc: linuxsh-dev

hi,
This fixes shared libgcc installation.
Please apply.

ChangeLog:

	* config/sh/t-linux (SHLIB_INSTALL): Prepend $$(DESTDIR)
	to $$(slibdir) in the installation commands.

Index: gcc/config/sh/t-linux
===================================================================
RCS file: /cvsroot/gcc/gcc/gcc/config/sh/t-linux,v
retrieving revision 1.9
diff -u -r1.9 t-linux
--- gcc/config/sh/t-linux	9 Oct 2003 04:21:51 -0000	1.9
+++ gcc/config/sh/t-linux	6 Feb 2004 03:03:53 -0000
@@ -27,9 +27,9 @@
 	 echo "GROUP ( $(SHLIB_SONAME) libgcc.a )" \
 	) > $(SHLIB_SOLINK)
 SHLIB_INSTALL = \
-	$$(SHELL) $$(srcdir)/mkinstalldirs $$(slibdir)$(SHLIB_SLIBDIR_QUAL); \
+	$$(SHELL) $$(srcdir)/mkinstalldirs $$(DESTDIR)$$(slibdir)$(SHLIB_SLIBDIR_QUAL); \
 	$(INSTALL_DATA) $(SHLIB_NAME) \
-	  $$(slibdir)$(SHLIB_SLIBDIR_QUAL)/$(SHLIB_SONAME); \
-	rm -f $$(slibdir)$(SHLIB_SLIBDIR_QUAL)/$(SHLIB_SOLINK); \
+	  $$(DESTDIR)$$(slibdir)$(SHLIB_SLIBDIR_QUAL)/$(SHLIB_SONAME); \
+	rm -f $$(DESTDIR)$$(slibdir)$(SHLIB_SLIBDIR_QUAL)/$(SHLIB_SOLINK); \
 	$(INSTALL_DATA) $(SHLIB_SOLINK) \
-	  $$(slibdir)$(SHLIB_SLIBDIR_QUAL)/$(SHLIB_SOLINK)
+	  $$(DESTDIR)$$(slibdir)$(SHLIB_SLIBDIR_QUAL)/$(SHLIB_SOLINK)

----
SUGIOKA Toshinobu

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Patch: sh-linux] shared libgcc install
  2004-02-06  4:36 ` Kaz Kojima
@ 2004-02-21 13:45   ` Kaz Kojima
  0 siblings, 0 replies; 4+ messages in thread
From: Kaz Kojima @ 2004-02-21 13:45 UTC (permalink / raw)
  To: gcc-patches; +Cc: sugioka, mark

SUGIOKA Toshinobu <sugioka@itonet.co.jp> wrote:
> This fixes shared libgcc installation.
> Please apply.
> 
> ChangeLog:
> 
> 	* config/sh/t-linux (SHLIB_INSTALL): Prepend $$(DESTDIR)
> 	to $$(slibdir) in the installation commands.

Looks fine to me.  Thanks.
Could you please write the target on which the patch was tested,
next time?  I suppose that sh-unknown-linux-gnu is.  I'll check
it in to mainline with adding a line of date and your name&addr
to ChangeLog.

Mark, can I check it in to 3.4-branch too, though it would not
be a pure regression?  Or I should wait 3.4.1?

Regards,
	kaz

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-02-06  4:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-02-06  3:17 [Patch: sh-linux] shared libgcc install SUGIOKA Toshinobu
2004-02-06  4:36 ` Kaz Kojima
2004-02-21 13:45   ` Kaz Kojima
2004-02-21 13:45 ` SUGIOKA Toshinobu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).