#3114: ghc -shared --make Teapot.hs (Failed using OpenGL)
--------------------------------+-------------------------------------------
Reporter: Mark_Spezzano | Owner:
Type: bug | Status: new
Priority: normal | Component: Compiler
Version: 6.10.1 | Severity: normal
Keywords: command line option | Testcase:
Os: Windows | Architecture: x86
--------------------------------+-------------------------------------------
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
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3114>
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