
`-DYNAMIC` is not the same as `-dynamic`. (`-DYNAMIC` defines the C
#11683: compiled files don't load in ghci -------------------------------------+------------------------------------- Reporter: George | Owner: Type: bug | Status: new Priority: high | Milestone: Component: Compiler | Version: 8.0.1-rc2 Resolution: | Keywords: Operating System: MacOS X | Architecture: Type of failure: Incorrect result | Unknown/Multiple at runtime | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by George): Sorry! My error as you kindly pointed out Thanks, sorry for the noise Replying to [comment:1 rwbarton]: preprocessor symbol `YNAMIC`.) Does it work for you if you run `ghc -dynamic bug.hs`? It seems to work correctly for me. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11683#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler