--- Begin Message ---
Subject: |
doc: Improve documentation of -export-symbols |
Date: |
Mon, 02 Sep 2024 11:42:17 +0200 |
Hi,
In GNU libffcall, I make use of libtool's '-export-symbols-regex' option.
Since the doc says "This option has no effect on some platforms." I wanted
to know more, in order to judge whether it's worth doing additional measures
for library namespacing.
Here's what I found:
* It has no effect on static libraries.
* It has the desired effect on shared libraries on
- most ELF systems (Linux, FreeBSD, NetBSD, OpenBSD, Solaris 10 and 11,
Android),
- macOS,
- Cygwin,
- native Windows (mingw, MSVC).
* It has no effect on AIX and Haiku.
Find attached a doc patch.
Bruno
0001-Document-situations-where-export-symbols-does-not-wo.patch
Description: Text Data
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#72955: doc: Improve documentation of -export-symbols |
Date: |
Mon, 2 Sep 2024 17:01:27 +0300 |
User-agent: |
Mozilla Thunderbird |
Hi Bruno,
Thank you for your research and updates to the documentation. Your patch
has been applied:
https://git.savannah.gnu.org/cgit/libtool.git/commit/?h=development&id=ff39c3238c026b45ad027ccbf513fc44a5c5c0bd
--
Ileana Dumitrescu
GPG Public Key: FA26 CA78 4BE1 8892 7F22 B99F 6570 EA01 146F 7354
OpenPGP_0x6570EA01146F7354.asc
Description: OpenPGP public key
OpenPGP_signature.asc
Description: OpenPGP digital signature
--- End Message ---