Implement -dynamic-lib option
The proposal is to add a new option -dynamic-lib
, to be used when building a shared library. It would be both a compile-time and a link-time option, and could be used with --make
to build a complete shared library in one go. It would avoid the pitfalls caused by there being combinations of -dynamic
and -fPIC
don't do what the user expects.
Specifically, -dynanmic-lib
would imply -dyanamic
, -fPIC
where necessary, and -shared
when linking.
See #3705 (closed) for more discussion.
Trac metadata
Trac field | Value |
---|---|
Version | 6.12.1 RC1 |
Type | Task |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |