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]

3.0.1 PATCH: Add support for shared libstdc++ on the Hurd


Missed this for 3.0.  Turned out that libtool didn't support shared
libraries for C++ on the Hurd, which meant that only libstdc++.a gets
built.  Could be seen as a regression from 2.95 since libstdc++ v2 did
get built as a shared library on the Hurd.  Fixed by the attached
patch.

Since the libtool multi-langauge-branch is closed, I'm not sure
whether I should submit this patch to the libtool folks too ... well I
CC'ed them anyway.  I will send them a patch for HEAD soon.


Index: ChangeLog
from  Mark Kettenis  <kettenis@gnu.org>

	* ltcf-cxx.sh: Add support for GNU.

Index: ltcf-cxx.sh
===================================================================
RCS file: /cvsroot/libtool/libtool/Attic/ltcf-cxx.sh,v
retrieving revision 1.1.2.47
diff -u -p -r1.1.2.47 ltcf-cxx.sh
--- ltcf-cxx.sh 2001/05/28 20:59:25 1.1.2.47
+++ ltcf-cxx.sh 2001/07/03 09:01:45
@@ -242,6 +242,8 @@ case $host_os in
     # conventions
     ld_shlibs=yes
     ;;
+  gnu*)
+    ;;
   hpux*)
     if test $with_gnu_ld = no; then
       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
@@ -739,6 +741,8 @@ else
       ;;
     freebsd*)
       # FreeBSD uses GNU C++
+      ;;
+    gnu*)
       ;;
     hpux9* | hpux10* | hpux11*)
       case $cc_basename in


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