Hi Xavier, On Wed, 18 Apr 2001 16:48:46 +0200 Xavier Bertou <bertou@in2p3.fr> wrote concerning ": [ROOT] 2 simple requests": > 1) the possibility to have the library path only for use with > -Wl,-rpath in root-config. maybe something like: > In config/root-config > @@ -320,6 +308,9 @@ > else > echo "cannot read ${incdir}/RVersion.h" > fi > + ;; > + --rflags) > + echo "-Wl,-rpath ${libdir}" > ;; > --cflags) > if test ${incdir} != /usr/include; then It should be: fi + ;; + --rflags) + echo "-Wl,-rpath,${libdir}" ;; Notice the second comma! A more libtool like way to do it, is fi + ;; + --rflags) + echo "-Wl,-rpath -Wl,${libdir}" ;; Please note, that not all platforms support this (of course GNU/Linux does ;-). Other than that, it's probably a good idea. I have another suggestion too: Can't ROOT (or is it CINT) do away with the requirement that a library to be loaded _must_ end with [.so|.sl|.a|.dll]?. Or at least allow extra stuff, like version numbers, after one of these patterns. What I'd like to be able to do is: gSystem->Load("/lib/libc.so.6") (ofcourse I don't intend on loading libc into ROOT, that doesn't make sense, but it was what I could think of off the top of my head). Yours, Christian ----------------------------------------------------------- Holm Christensen Phone: (+45) 35 35 96 91 Sankt Hansgade 23, 1. th. Office: (+45) 353 25 305 DK-2200 Copenhagen N Web: www.nbi.dk/~cholm Denmark Email: cholm@nbi.dk
This archive was generated by hypermail 2b29 : Fri Jun 08 2001 - 11:51:23 MEST