Opened 4 years ago

Last modified 19 months ago

#3712 new task

Implement -dynamic-lib option

Reported by: simonmar Owned by:
Priority: low Milestone: 7.6.2
Component: Compiler Version: 6.12.1 RC1
Keywords: Cc: dterei
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: None/Unknown Difficulty: Easy (less than 1 hour)
Test Case: Blocked By:
Blocking: Related Tickets:

Description

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 for more discussion.

Change History (6)

comment:1 Changed 3 years ago by igloo

  • Milestone changed from 7.0.1 to 7.0.2

comment:2 Changed 3 years ago by igloo

  • Milestone changed from 7.0.2 to 7.2.1

comment:3 Changed 3 years ago by dterei

  • Cc dterei added

comment:4 Changed 3 years ago by igloo

  • Milestone changed from 7.2.1 to 7.4.1

comment:5 Changed 2 years ago by igloo

  • Milestone changed from 7.4.1 to 7.6.1
  • Priority changed from normal to low

comment:6 Changed 19 months ago by igloo

  • Milestone changed from 7.6.1 to 7.6.2
Note: See TracTickets for help on using tickets.