#3114: ghc -shared --make Teapot.hs (Failed using OpenGL)
------------------------------------+---------------------------------------
    Reporter:  Mark_Spezzano        |        Owner:         
        Type:  bug                  |       Status:  new    
    Priority:  normal               |    Milestone:         
   Component:  Compiler             |      Version:  6.10.1 
    Severity:  normal               |   Resolution:         
    Keywords:  command line option  |   Difficulty:  Unknown
    Testcase:                       |           Os:  Windows
Architecture:  x86                  |  
------------------------------------+---------------------------------------
Changes (by igloo):

  * difficulty:  => Unknown

Old description:

> 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

New description:

 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#comment:1>
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

Reply via email to