#3712: Implement -dynamic-lib option
---------------------------------+------------------------------------------
    Reporter:  simonmar          |        Owner:                         
        Type:  task              |       Status:  new                    
    Priority:  normal            |    Milestone:  6.14.1                 
   Component:  Compiler          |      Version:  6.12.1 RC1             
    Keywords:                    |   Difficulty:  Easy (less than 1 hour)
          Os:  Unknown/Multiple  |     Testcase:                         
Architecture:  Unknown/Multiple  |      Failure:  None/Unknown           
---------------------------------+------------------------------------------
 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.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3712>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to