#3705: -fPIC without -dynamic silently ignored
---------------------------+------------------------------------------------
Reporter: asuffield | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version:
Resolution: | Keywords:
Difficulty: | Os: Linux
Testcase: | Architecture: x86_64 (amd64)
Failure: None/Unknown |
---------------------------+------------------------------------------------
Comment (by simonmar):
Currently the options make sense to someone who understands the
implementation, but they make little sense to the user. I suggest we
rethink the options, with a focus on the various modes of use that we want
to support. e.g. just adding `-dynamic-lib` for building a module to be
placed in a shared library would probably be enough: the idea would be
that you use `-dynamic-lib` when building the library, and `-dynamic` when
building the exe.
`-dynamic-lib` would imply `-dynamic`, `-fPIC` where necessary, and
`-shared` when linking.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3705#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