|
--make and -make-is: msg#00115lang.haskell.glasgow.bugs
Running GHC 6.4 on Mac OS X 10.3.8. I have problems using --make and -make-is, which seem to be related to bug "[ 935792 ] --make and -main-is don't work together". The shell transcript below illustrates the problem. / Kristofer Johannisson prompt$ ls A.hs prompt$ more A.hs module A where main = putStrLn "hello world" prompt$ ghc --make A.hs Chasing modules from: A.hs Compiling A ( A.hs, A.o ) prompt$ ls A.hi A.hs A.o prompt$ ghc -main-is A --make A.hs Chasing modules from: A.hs Skipping A ( A.hs, A.o ) Linking ... ld: Undefined symbols: _ZCMain_main_closure ___stginit_ZCMain prompt$ rm -f A.o prompt$ ghc -main-is A --make A.hs Chasing modules from: A.hs Compiling A ( A.hs, A.o ) Linking ... prompt$ ./a.out hello world
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | ignoring contexts (version 6.4.20050304), Daniel Fischer |
|---|---|
| Next by Date: | RE: --make and -make-is, Simon Peyton-Jones |
| Previous by Thread: | ignoring contexts (version 6.4.20050304), Daniel Fischer |
| Next by Thread: | RE: --make and -make-is, Simon Peyton-Jones |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |