Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/distrib/sets Not all new-toolchain platforms support shared ...



details:   https://anonhg.NetBSD.org/src/rev/1311ef0207cf
branches:  trunk
changeset: 526513:1311ef0207cf
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Sun May 05 01:24:24 2002 +0000

description:
Not all new-toolchain platforms support shared libraries (m68000 and
sh3, for example, due to defincencies in the current compiler version).

Deal with this by splitting toolchain shlibs into tc.shl, and teachking
makeflist about it.

Also, fix an old-toolchain remnant in the sh3 set lists.

diffstat:

 distrib/sets/lists/comp/ad.sh3 |   3 +--
 distrib/sets/lists/comp/tc.mi  |  19 ++-----------------
 distrib/sets/lists/comp/tc.shl |  16 ++++++++++++++++
 distrib/sets/makeflist         |   7 ++++++-
 4 files changed, 25 insertions(+), 20 deletions(-)

diffs (87 lines):

diff -r 8199c6794f92 -r 1311ef0207cf distrib/sets/lists/comp/ad.sh3
--- a/distrib/sets/lists/comp/ad.sh3    Sun May 05 00:45:31 2002 +0000
+++ b/distrib/sets/lists/comp/ad.sh3    Sun May 05 01:24:24 2002 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: ad.sh3,v 1.12 2002/05/02 15:42:18 wiz Exp $
+# $NetBSD: ad.sh3,v 1.13 2002/05/05 01:24:24 thorpej Exp $
 ./usr/include/ieeefp.h comp-c-include
 ./usr/include/sh3      comp-c-include
 ./usr/include/sh3/ansi.h       comp-c-include
@@ -47,4 +47,3 @@
 ./usr/include/sh3/va-sh.h      comp-c-include
 ./usr/include/sh3/varargs.h    comp-c-include
 ./usr/include/sh3/vmparam.h    comp-c-include
-./usr/lib/libbfd.a             comp-c-lib
diff -r 8199c6794f92 -r 1311ef0207cf distrib/sets/lists/comp/tc.mi
--- a/distrib/sets/lists/comp/tc.mi     Sun May 05 00:45:31 2002 +0000
+++ b/distrib/sets/lists/comp/tc.mi     Sun May 05 01:24:24 2002 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: tc.mi,v 1.4 2001/12/19 23:54:16 tv Exp $
+#      $NetBSD: tc.mi,v 1.5 2002/05/05 01:24:24 thorpej Exp $
 ./usr/bin/readelf                              comp-util-bin
 ./usr/bin/protoize                             comp-c-bin
 ./usr/bin/unprotoize                           comp-c-bin
@@ -157,19 +157,4 @@
 ./usr/include/g++/valarray                     comp-cxx-include
 ./usr/include/g++/vector                       comp-cxx-include
 ./usr/include/g++/vector.h                     comp-cxx-include
-./usr/lib/libbfd.so.4                          comp-c-lib
-./usr/lib/libbfd.so.4.0                                comp-c-lib
-./usr/lib/libg2c.so                            comp-c-lib
-./usr/lib/libg2c.so.1                          comp-c-lib
-./usr/lib/libg2c.so.1.0                                comp-c-lib
-./usr/lib/libg2c_pic.a                         comp-c-lib
-./usr/lib/libgcc_p.a                           comp-c-lib
-./usr/lib/libgcc_pic.a                         comp-c-lib
-./usr/lib/libobjc.so                           comp-c-lib
-./usr/lib/libobjc.so.1                         comp-c-lib
-./usr/lib/libobjc.so.1.0                       comp-c-lib
-./usr/lib/libobjc_pic.a                                comp-c-lib
-./usr/lib/libstdc++.so                         comp-c-lib
-./usr/lib/libstdc++.so.4                       comp-c-lib
-./usr/lib/libstdc++.so.4.0                     comp-c-lib
-./usr/lib/libstdc++_pic.a                      comp-c-lib
+./usr/lib/libgcc_p.a                           comp-c-proflib
diff -r 8199c6794f92 -r 1311ef0207cf distrib/sets/lists/comp/tc.shl
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/distrib/sets/lists/comp/tc.shl    Sun May 05 01:24:24 2002 +0000
@@ -0,0 +1,16 @@
+#      $NetBSD: tc.shl,v 1.1 2002/05/05 01:24:24 thorpej Exp $
+./usr/lib/libbfd.so.4                          comp-c-shlib
+./usr/lib/libbfd.so.4.0                                comp-c-shlib
+./usr/lib/libg2c.so                            comp-fortran-lib
+./usr/lib/libg2c.so.1                          comp-fortran-shlib
+./usr/lib/libg2c.so.1.0                                comp-fortran-shlib
+./usr/lib/libg2c_pic.a                         comp-fortran-lib
+./usr/lib/libgcc_pic.a                         comp-c-piclib
+./usr/lib/libobjc.so                           comp-objc-lib
+./usr/lib/libobjc.so.1                         comp-objc-shlib
+./usr/lib/libobjc.so.1.0                       comp-objc-shlib
+./usr/lib/libobjc_pic.a                                comp-objc-piclib
+./usr/lib/libstdc++.so                         comp-cxx-lib
+./usr/lib/libstdc++.so.4                       comp-cxx-shlib
+./usr/lib/libstdc++.so.4.0                     comp-cxx-shlib
+./usr/lib/libstdc++_pic.a                      comp-cxx-piclib
diff -r 8199c6794f92 -r 1311ef0207cf distrib/sets/makeflist
--- a/distrib/sets/makeflist    Sun May 05 00:45:31 2002 +0000
+++ b/distrib/sets/makeflist    Sun May 05 01:24:24 2002 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# $NetBSD: makeflist,v 1.45 2002/05/02 15:59:10 wiz Exp $
+# $NetBSD: makeflist,v 1.46 2002/05/05 01:24:24 thorpej Exp $
 #
 # Print out the files in some or all lists.
 # Usage: makeflist [-b] [-x] [-a arch] [-m machine] [-s setsdir] [setname ...]
@@ -129,6 +129,11 @@
                if [ -f $setd/lists/$setname/tc.mi ]; then
                        cat $setd/lists/$setname/tc.mi
                fi
+               if [ "$shlib" != "no" ]; then
+                       if [ -f $setd/lists/$setname/tc.shl ]; then
+                               $setd/lists/$setname/tc.shl
+                       fi
+               fi
        else
                if [ -f $setd/lists/$setname/tc.old ]; then
                        cat $setd/lists/$setname/tc.old



Home | Main Index | Thread Index | Old Index