On May 10, 2001, Ganesan Rajagopal <[EMAIL PROTECTED]> wrote:

> I know about the -Wl flag. I some how got the idea that -Xlinker is a
> libtool flag which will use the appropriate option to pass it to the linker,

I believe libtool supports both -Wl, and -Xlinker, and translates it
to -Wl, if it runs the compiler driver.

>>>>> "Robert" == Robert Boehne <[EMAIL PROTECTED]> writes:

>> As for $ORIGIN, I think the same applies, just add
>> -R $ORIGIN to your links.

IIRC, libtool requires -R arguments to be a full pathname.

Now, what would be really great would be to have $ORIGIN supported
even on OSs that don't support it directly: in this case, libtool
would replace $ORIGIN with the installation -rpath of the library.
But it has to be taught about which OSs support $ORIGIN.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me

_______________________________________________
Libtool mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/libtool

Reply via email to