|
[ ghc-Bugs-935792 ] --make and -main-is don't work together: msg#00014lang.haskell.glasgow.bugs
Bugs item #935792, was opened at 2004-04-15 10:48 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108032&aid=935792&group_id=8032 Category: Compiler Group: 6.2 Status: Open Resolution: None 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 ---------------------------------------------------------------------- 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: | fixIO bug, Stefan Ljungstrand |
|---|---|
| Next by Date: | [ ghc-Bugs-935792 ] --make and -main-is don't work together, SourceForge.net |
| Previous by Thread: | fixIO bug, Stefan Ljungstrand |
| Next by Thread: | [ ghc-Bugs-935792 ] --make and -main-is don't work together, SourceForge.net |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |