public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* cannot install egcs-970901 on SunOS4.1.3
@ 1997-09-04  0:21 Alexandre Oliva
  1997-09-09 19:48 ` Jim Wilson
  0 siblings, 1 reply; 2+ messages in thread
From: Alexandre Oliva @ 1997-09-04  0:21 UTC (permalink / raw)
  To: egcs

[-- Attachment #1: Type: text/plain, Size: 515 bytes --]

make install will fail on SunOS 4.1.3 because multi-lib directories
would not be created for libiberty in the install tree.

Here's a patch for correctly installing the multi-lib'ed libiberty on
SunOS 4.1.3.

By the way, I'm not sure whether the full pathname is required by
ranlib, since we've already cd'ed into the correct directory.  If it
is needed, please re-insert it, as I have removed it.

-- 
Alexandre Oliva
mailto:oliva@dcc.unicamp.br mailto:aoliva@acm.org
Universidade Estadual de Campinas, SP, Brasil

[-- Attachment #2: instliberty.diff --]
[-- Type: text/x-diff, Size: 1228 bytes --]

--- libiberty/Makefile.in~	Mon Aug 25 12:38:02 1997
+++ libiberty/Makefile.in	Thu Sep  4 03:45:36 1997
@@ -172,15 +172,15 @@
 install: install_to_$(INSTALL_DEST)
 
 install_to_libdir: all
-	$(INSTALL_DATA) $(TARGETLIB) $(libdir)/$(TARGETLIB).n
-	( cd $(libdir) ; $(RANLIB) $(libdir)/$(TARGETLIB).n )
-	mv -f $(libdir)/$(TARGETLIB).n $(libdir)$(MULTISUBDIR)/$(TARGETLIB)
+	$(INSTALL_DATA) $(TARGETLIB) $(libdir)$(MULTISUBDIR)/$(TARGETLIB).n
+	( cd $(libdir)$(MULTISUBDIR) ; $(RANLIB) $(TARGETLIB).n )
+	mv -f $(libdir)$(MULTISUBDIR)/$(TARGETLIB).n $(libdir)$(MULTISUBDIR)/$(TARGETLIB)
 	@$(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=install
 
 install_to_tooldir: all
-	$(INSTALL_DATA) $(TARGETLIB) $(tooldir)/lib/$(TARGETLIB).n
-	( cd $(tooldir) ; $(RANLIB) $(tooldir)/lib/$(TARGETLIB).n )
-	mv -f $(tooldir)/lib/$(TARGETLIB).n $(tooldir)/lib$(MULTISUBDIR)/$(TARGETLIB)
+	$(INSTALL_DATA) $(TARGETLIB) $(tooldir)/lib$(MULTISUBDIR)/$(TARGETLIB).n
+	( cd $(tooldir)/lib$(MULTISUBDIR) ; $(RANLIB) $(TARGETLIB).n )
+	mv -f $(tooldir)/lib$(MULTISUBDIR)/$(TARGETLIB).n $(tooldir)/lib$(MULTISUBDIR)/$(TARGETLIB)
 	@$(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=install
 
 # The default configuration adds to libiberty all those functions that are

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

* Re: cannot install egcs-970901 on SunOS4.1.3
  1997-09-04  0:21 cannot install egcs-970901 on SunOS4.1.3 Alexandre Oliva
@ 1997-09-09 19:48 ` Jim Wilson
  0 siblings, 0 replies; 2+ messages in thread
From: Jim Wilson @ 1997-09-09 19:48 UTC (permalink / raw)
  To: Alexandre Oliva; +Cc: egcs

	make install will fail on SunOS 4.1.3 because multi-lib directories
	would not be created for libiberty in the install tree.

Thanks.  I have installed this patch.

Jim

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

end of thread, other threads:[~1997-09-09 19:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-09-04  0:21 cannot install egcs-970901 on SunOS4.1.3 Alexandre Oliva
1997-09-09 19:48 ` Jim Wilson

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).