[GHC] #2459: can't link haskell without "main" function,
or -no-hs-main broken on windows?
GHC
trac at galois.com
Tue Jul 22 21:17:01 EDT 2008
#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
More information about the Glasgow-haskell-bugs
mailing list