Try with "-v" and send us the output. Also list the
contents of the directory -- is anything getting created at all?
Simon
| -----Original Message-----
| From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
| Sent: 06 July 2001 17:46
| To: [EMAIL PROTECTED]
| Subject: how to obtain a executable file
|
|
|
| hello, I have instaled GHC-4.08.2. on a computer with W98.
| I followed the instructions (I created C:\TEMP and I added to
| PATH the entries C:\ghc\ghc-4.08\bin and extra-bin). After
| that I executed bash.exe, I wrote the "hello world" program as follows
| > cat main.hs
| module Main(main) where
|
| main = putStrLn "Hello, world!"
|
| and I compiled it with the command
| > ghc -o main main.hs
|
| The instruction says that with the above instruction you
| obtain a file called main (perhaps main.exe) but in my
| computers no file appears and no error (neither messages) are
| given in the compilation. When I type ./main the computer
| says "file not found".
|
| What could be wrong in my intallation?
|
| I also use ghc-4.08.2 for linux (Suse 7.1) and it goes fine.
|
| Thanks in advance.
|
| J.I. Garc�a-Garc�a
| Dpto. �lgebra, Univ. Granada
| Espa�a
|
| _______________________________________________
| Glasgow-haskell-bugs mailing list
| [EMAIL PROTECTED]
| http://www.haskell.org/mailman/listinfo/glasgow-| haskell-bugs
|
_______________________________________________
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs