libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Werner LEMBERG
Subject: linker option `-version-script' vs. `-retain-symbol-file'
Date: Sun, 28 Jan 2018 10:20:51 +0100 (CET)

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]