|
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:
|
- [Bug-apl] Cygwin64 Build Errors Mike Duvos
- Re: [Bug-apl] Cygwin64 Build Errors Juergen Sauermann
- Re: [Bug-apl] Cygwin64 Build Errors Mike Duvos
- Re: [Bug-apl] Cygwin64 Build Errors Juergen Sauermann
- Re: [Bug-apl] Cygwin64 Build Errors Mike Duvos
- Re: [Bug-apl] Cygwin64 Build Error... Elias Mårtenson
- Re: [Bug-apl] Cygwin64 Build E... Juergen Sauermann
- Re: [Bug-apl] Cygwin64 Build Errors Mike Duvos
- Re: [Bug-apl] Cygwin64 Build Error... Mike Duvos
- Re: [Bug-apl] Cygwin64 Build E... Juergen Sauermann
- Re: [Bug-apl] Cygwin64 Bui... Mike Duvos
