Hi Bruno,

Does config.rpath apply to C++ or Fortran compilers as well?
If so, then here's an update from Libtool.

Wonder whether Libtool should try to factorize a bit so this can be
synced more easily..

Another issue: the `como' entry should probably be either removed or
changed to
  wl='--lopt='
Their "compiler driver" is a shell script that happens to both mess up
very heavily with white space in arguments, and erroneously matches `-l'
before `-lopt' (but understands --lopt, correctly).  Also, their current
version does static linking only.  Roberto Bagnara agreed at the time
that removing support from CLN and Libtool was ok.  When they come up
with their next release, with shared libs, we can revisit.

Furthermore, in Libtool we now zap leading `^$host_alias-' from
$cc_basename, plus a few known compiler wrapper scripts (see
libtool.m4:_LT_CC_BASENAME).  I don't know in which circumstances
config.rpath is used, but it may be worthwhile to add this here as well.

Cheers,
Ralf (still pondering about lib-link..)

        * build-aux/config.rpath: Updated from libtool-1.5.20.

Index: build-aux/config.rpath
===================================================================
RCS file: /cvsroot/gnulib/gnulib/build-aux/config.rpath,v
retrieving revision 1.1
diff -u -r1.1 config.rpath
--- build-aux/config.rpath      22 Mar 2005 15:00:31 -0000      1.1
+++ build-aux/config.rpath      14 Sep 2005 16:44:58 -0000
@@ -66,10 +66,10 @@
       ;;
     linux*)
       case $cc_basename in
-        icc* | ecc*)
+        icc* | icpc* | ecc*)
           wl='-Wl,'
           ;;
-        pgcc | pgf77 | pgf90)
+        pgcc* | pgCC* | pgf77* | pgf90* | pgf95* )
           wl='-Wl,'
           ;;
         ccc*)
@@ -86,7 +86,12 @@
     sco3.2v5*)
       ;;
     solaris*)
-      wl='-Wl,'
+      case $cc_basename in
+        CC* | f77* | f90* | f95*)
+         wl='-Qoption ld ';;
+       *)
+         wl='-Wl,';;
+      esac
       ;;
     sunos4*)
       wl='-Qoption ld '


_______________________________________________
bug-gnulib mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-gnulib

Reply via email to