Re: 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.

Oops!  On my GNU/Linux box, libtool already does the right thing.
Sorry for the noise.  It seems that Drepper should rather update his
article :-)


    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.