|
[ ghc-Bugs-935792 ] --make and -main-is don't work together: msg#00015lang.haskell.glasgow.bugs
Bugs item #935792, was opened at 2004-04-15 17:48 Message generated for change (Comment added) made by simonmar You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108032&aid=935792&group_id=8032 Category: Compiler Group: 6.2 >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: --make and -main-is don't work together Initial Comment: The --make option doesn't take into account the presence of a -main-is option; if a Main module isn't present, it won't link, and if one is present (but would not be used as the entry point because of -main-is), linking fails with: Linking ... /usr/lib/ghc-6.2/libHSrts.a(Main.o)(.text+0xe): In function `main': : undefined reference to `__stginit_ZCMain' /usr/lib/ghc-6.2/libHSrts.a(Main.o)(.text+0x28): In function `main': : undefined reference to `ZCMain_main_closure' collect2: ld returned 1 exit status - abe.egnor@xxxxxxxxx ---------------------------------------------------------------------- >Comment By: Simon Marlow (simonmar) Date: 2004-04-16 09:46 Message: Logged In: YES user_id=48280 This bug was fixed in 6.2.1. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108032&aid=935792&group_id=8032
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | [ ghc-Bugs-935792 ] --make and -main-is don't work together, SourceForge.net |
|---|---|
| Next by Date: | -ddump-all and --ddump-most, Gregory Wright |
| Previous by Thread: | [ ghc-Bugs-935792 ] --make and -main-is don't work together, SourceForge.net |
| Next by Thread: | -ddump-all and --ddump-most, Gregory Wright |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |