public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* A shared library patch for libg++ 2.8.0
@ 1998-01-16 20:09 H.J. Lu
  1998-01-17 20:06 ` Jeffrey A Law
  0 siblings, 1 reply; 2+ messages in thread
From: H.J. Lu @ 1998-01-16 20:09 UTC (permalink / raw)
  To: gcc2; +Cc: egcs

Hi,

There is a bug in configure.in in libg++ 2.8.0, which prevents
--enable-shared from working on many platforms if the build
directory is different from the source directory. This patch
should fix it.

BTW, the same bug exists in egcs 980115. But you won't see it
on HPPA, x86, Sparc64, PPC and alpha.

Sorry for that.


-- 
H.J. Lu (hjl@gnu.org)
----
Fri Jan 16 08:00:02 19978 H.J. Lu  (hjl@gnu.org)

	* configure.in: Check makefile fragments in the source
	directory.

--- libg++-2.8.0/configure.in	Wed Jan 14 08:43:49 1998
+++ libg++-2.8.1/configure.in	Fri Jan 16 15:01:09 1998
@@ -275,7 +275,7 @@
       host_makefile_frag="${host_makefile_frag} config/mh-elfalphapic"
       ;;
     *)
-      if test -f config/mh-${host_cpu}pic; then
+      if test -f ${srcdir}/config/mh-${host_cpu}pic; then
         host_makefile_frag="${host_makefile_frag} config/mh-${host_cpu}pic"
       fi
       ;;
@@ -874,7 +874,7 @@
       target_makefile_frag="${target_makefile_frag} config/mt-elfalphapic"
       ;;
     *)
-      if test -f config/mt-${target_cpu}pic; then
+      if test -f ${srcdir}/config/mt-${target_cpu}pic; then
         target_makefile_frag="${target_makefile_frag} config/mt-${target_cpu}pic"
       fi
       ;;

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

* Re: A shared library patch for libg++ 2.8.0
  1998-01-16 20:09 A shared library patch for libg++ 2.8.0 H.J. Lu
@ 1998-01-17 20:06 ` Jeffrey A Law
  0 siblings, 0 replies; 2+ messages in thread
From: Jeffrey A Law @ 1998-01-17 20:06 UTC (permalink / raw)
  To: H.J. Lu; +Cc: gcc2, egcs

  In message < m0xtKr9-0004ecC@ocean.lucon.org >you write:
  > Fri Jan 16 08:00:02 19978 H.J. Lu  (hjl@gnu.org)
  > 
  > 	* configure.in: Check makefile fragments in the source
  > 	directory.
Thanks.   I've installed this into egcs.
jeff

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

end of thread, other threads:[~1998-01-17 20:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-01-16 20:09 A shared library patch for libg++ 2.8.0 H.J. Lu
1998-01-17 20:06 ` Jeffrey A Law

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