#3704: Using -shared without -dynamic should be rejected on linux
---------------------------+------------------------------------------------
  Reporter:  asuffield     |          Owner:                  
      Type:  bug           |         Status:  new             
  Priority:  normal        |      Milestone:                  
 Component:  Compiler      |        Version:                  
Resolution:                |       Keywords:                  
Difficulty:                |             Os:  Unknown/Multiple
  Testcase:                |   Architecture:  Unknown/Multiple
   Failure:  None/Unknown  |  
---------------------------+------------------------------------------------
Comment (by simonmar):

 The proposal in #3705 is to add a new flag `-dynamic-lib` for building
 shared libraries.  This would make the common case less error-prone, but
 leave the more detailed options available for experts who want to
 experiment with other combinations.

 Yes we could track information about how each `.o` file was built.  That's
 tricky to implement, though.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3704#comment:4>
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