[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: linker option `-version-script' vs. `-retain-symbol-file'
From: |
Werner LEMBERG |
Subject: |
Re: linker option `-version-script' vs. `-retain-symbol-file' |
Date: |
Sun, 28 Jan 2018 10:27:10 +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.
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