"ghc -shared --make" gives panic
I was just experimenting with the compiler options and for some reason I decided to stick -shared in there (it's not needed for compilation: ghc --make Teapot.hs does the trick). I got this error message:
C:\Users\Mark\workspace2\OpenGLPractice\src>ghc -shared --make Teapot.hs
[1 of 1] Compiling Main ( Teapot.hs, Teapot.o )
ghc: panic! (the 'impossible' happened)
(GHC version 6.10.1 for i386-unknown-mingw32):
link: GHC not built to link this way: LinkDynLib
Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug