[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Using -Bsymbolic with libtool
From: |
Ganesan Rajagopal |
Subject: |
Using -Bsymbolic with libtool |
Date: |
09 May 2001 10:35:49 +0530 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 |
Hi,
I am currently using -Bsymbolic to compile my libraries. I pass in the flag
using "-Xlinker -Bsymbolic". Is "-Bsymbolic" portable and if it is can the
flag be added to libtool directly. Linux, FreeBSD ELF, Tru64 and Solaris
seem to support it (with the same flag), but I am sure there will be other
platforms that don't.
While we are in the topic, how should libtool handle platform specific
optimizations? For eg. I submitted a patch to allow RPATHs to have '$ORIGIN'
in the RPATH; it was (understandably) rejected because it is not
portable. It's a pain to explicitly pass the '$ORIGIN' RPATH using -Xlinker
when all the platforms I care about already support it.
Can I submit a patch that will let libtool allow '$ORIGIN' in the
RPATH for platforms that support it?
Ganesan
- Using -Bsymbolic with libtool,
Ganesan Rajagopal <=