#2459: can't link haskell without "main" function, or -no-hs-main broken on
windows?
------------------------+---------------------------------------------------
    Reporter:  jvl      |        Owner:         
        Type:  bug      |       Status:  new    
    Priority:  normal   |    Milestone:         
   Component:  Driver   |      Version:  6.8.2  
    Severity:  normal   |   Resolution:         
    Keywords:           |     Testcase:         
Architecture:  Unknown  |           Os:  Windows
------------------------+---------------------------------------------------
Comment (by jvl):

 correction, the last example should read

 {{{
 >ghc -c -fglasgow-exts -o MyHelloWorld.o MyHelloWorld.hs
 >ghc -optl-mwindows -no-hs-main -o winhello.exe winmain.c MyHelloWorld.o
 MyHelloWorld_stub.o
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2459#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