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.
Hi I had the same problem. The problem is with one of your cygwin libraries. Reuben Thomas sent me this reply: ------------- You probably need to change the mingw package: if its date is 200012xx, try downgrading to 200011xx. This recommendation also applies to Janna Khegai's message. ------------- You'll have to download and install the slightly older mingw package. Meurig ----- Original Message ----- From: "Eugene Nonko" <cm@pochta.net> To: <haskell@haskell.org> Sent: Tuesday, January 30, 2001 12:30 PM 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 Haskell@haskell.org http://www.haskell.org/mailman/listinfo/haskell
participants (2)
-
Eugene Nonko -
Meurig Sage