|
RE: --make and -main-is still not working together?: msg#00052lang.haskell.glasgow.bugs
On 09 August 2005 16:11, Niels wrote: > I'm triggering the bug that was first reported here > > http://sourceforge.net/tracker/index.php > ?func=detail&atid=108032&aid=935792&group_id=8032 > > which was fixed in 6.2.1 > > im issuing the following ghc command: > 'ghc -o out --make -main-is ModName.Main.main ModName/Main.hs' > > and get: > > /usr/lib/ghc-6.4/libHSrts.a(Main.o)(.text+0xe): In function `main': >> undefined reference to `__stginit_ZCMain' > /usr/lib/ghc-6.4/libHSrts.a(Main.o)(.text+0x28): In function `main': >> undefined reference to `ZCMain_main_closure' > collect2: ld returned 1 exit status I can't reproduce this failure: ~/scratch > cat ModName/Main.hs module ModName.Main where main=print "hello" ~/scratch > ghc -o out --make ModName/Main.hs -main-is ModName.Main.main Chasing modules from: ModName/Main.hs Skipping ModName.Main ( ModName/Main.hs, ModName/Main.o ) Linking ... This is 6.4 on x86/Linux. Is there anything I'm missing? Cheers, Simon
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Internal error: scavenge_one, Tien Tuan Anh Dinh |
|---|---|
| Next by Date: | RE: Deriving Typeable instances, Simon Marlow |
| Previous by Thread: | --make and -main-is still not working together?, Niels |
| Next by Thread: | Re: --make and -main-is still not working together?, Niels |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |