
#5495: simple program fails with -shared on mac -------------------------------------+------------------------------------- Reporter: mwotton | Owner: Type: bug | Status: infoneeded Priority: low | Milestone: 7.10.1 Component: Compiler | Version: 7.2.1 Resolution: | Keywords: Operating System: MacOS X | Architecture: x86_64 (amd64) Type of failure: Compile- | Difficulty: Unknown time crash | Blocked By: Test Case: | Related Tickets: Blocking: | Differential Revisions: | -------------------------------------+------------------------------------- Comment (by rwbarton): I'm not sure whether this is a bug at all. You need `-dynamic` also, to produce object files that can be linked dynamically. Granted, the way that `-shared` and `-dynamic` interact with make mode is, at best, not obvious. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/5495#comment:9 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler