linker option `-version-script' vs. `-retain-symbol-file'

Werner LEMBERG <[email protected]>
Newsgroups gmane.comp.gnu.libtool.general
Message-ID <[email protected]>
Ulrich Drepper, in his article on DLLs

  https://www.akkadia.org/drepper/dsohowto.pdf

(section 2.2.6), criticizes that libtool maps its `--export-symbols'
option to GNU linker option `-retain-symbol-file'.  Instead, it should
use `-version-script'.

This seems to be a valid concern.  Given that libtool already uses
`-version-script' for the Solaris linker, I wonder what are the
reasons to not use this code for the GNU linker also.


    Werner

_______________________________________________
https://lists.gnu.org/mailman/listinfo/libtool
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.