RE: Problems with GHC-4.08.1 on Windows 2000 Professional
You have to compile with the flag -static, I'm afraid. 4.08.2 will have this built in. Simon | -----Original Message----- | From: Eugene Nonko [mailto:cm@pochta.net] | Sent: 30 January 2001 12:30 | To: haskell@haskell.org | 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 (1)
-
Simon Peyton-Jones