[GHC] #8266: Dynamic linking on Mac
GHC
ghc-devs
Thu Oct 3 03:25:47 UTC 2013
#8266: Dynamic linking on Mac
--------------------------------------------+------------------------------
Reporter: kazu-yamamoto | Owner:
Type: bug | Status: new
Priority: highest | Milestone:
Component: Build System | Version: 7.7
Resolution: | Keywords:
Operating System: MacOS X | Architecture:
Type of failure: GHC doesn't work at all | Unknown/Multiple
Test Case: | Difficulty: Unknown
Blocking: | Blocked By:
| Related Tickets:
--------------------------------------------+------------------------------
Comment (by kazu-yamamoto):
GHC should call GCC with "-Wl,-rpath,<path>":
{{{
% cat test.hs
main = putStrLn "Hello"
% ghc -fforce-recomp -dynamic test.hs -optl "-Wl,-rpath,/ghc-
head/lib/ghc-7.7.20131001/"
% ./test
Hello
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8266#comment:8>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list