Problems with GHC-4.08.1 on Windows 2000 Professional
Tue, 30 Jan 2001 08:31:32 -0800
You have to compile with the flag -static, I'm afraid.
4.08.2 will have this built in.
| -----Original Message-----
| From: Eugene Nonko [mailto:firstname.lastname@example.org]
| Sent: 30 January 2001 12:30
| To: email@example.com
| Subject: Problems with GHC-4.08.1 on Windows 2000 Professional
| Dear Colleagues,
| I've encountered some problems after ghc-4.08.1 installation
| on by w2kpro.
| When I'm trying to compile simple 'Hello world!' program (ghc
| main.hs -o
| main.exe), linker outputs messages:
| gcc: D:/ghc/lib/Main.dll_o: No such file or directory
| gcc: D:/ghc/lib/PrelMain.dll_o: No such file or directory
| When I'm trying to compile it with -static command line switch (ghc
| main.hs -o main.exe -static), it compiles, but resulting .exe
| does nothing
| (it doesn't displays message).
| What's the problem, can someone explain me?
| PS. Just in case, this is full source code of this 'Hello
| world!' program.
| module Main (main) where
| main = putStrLn "Hello, world!"
| Best regards,
| Eugene Nonko
| Novosoft Inc.
| Haskell mailing list