|
From: | Juergen Sauermann |
Subject: | Re: [Bug-apl] Cygwin64 Build Errors |
Date: | Sat, 15 Aug 2015 20:12:34 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 |
Hi Mike, I believe the reason is different platforms. man g++ says: "-rdynamic Pass the flag -export-dynamic to the ELF linker, on targets that support it. This instructs the linker to add all symbols, not only used ones, to the dynamic symbol table. This option is needed for some uses of "dlopen" or to allow obtaining backtraces from within a program. " GNU APL uses both dlopen() and backtraces, so I thought I should use when possible. The text above suggests that g++ always accepts it and passes the export-dynamic to the linker only if the linker supports it. The actual behavior seems to be different, though. We have also seen compilers that "pretend" to be g++ but don't accept -rdynamic either. I am hoping that some day all g++ compilers accept -rdynamic in a consistent way. /// Jürgen On 08/15/2015 07:51 PM, Mike Duvos
wrote:
|
[Prev in Thread] | Current Thread | [Next in Thread] |