|
[GHC] #790: Redundant re-link when ".exe" omitted: msg#00042lang.haskell.glasgow.bugs
#790: Redundant re-link when ".exe" omitted -------------------------+-------------------------------------------------- Reporter: simonpj | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 6.4.2 Severity: normal | Keywords: Os: Windows | Difficulty: Unknown Architecture: Unknown | -------------------------+-------------------------------------------------- (Reported by Neil Mitchell.) GHC 6.4.2 doesn't normally relink when invoked with --make if the target file has not changed. This is very very useful! Create a Main.hs, and compile with {{{ghc --make}}} twice, first time it compiles, second time it does nothing. Compile with {{{ghc --make -o file.exe}}} twice, first time it compiles, second time it does nothing. Compile with {{{ghc --make -o file}}} (note the absence of .exe). First time it compiles as file.exe, second time and every time after it relinks. This is the bug. On Windows {{{-o file}}} means {{{-o file.exe}}}, and I guess the file "file" rather than "file.exe" is checked if it is up to date or not. -- Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/790> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler_______________________________________________ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@xxxxxxxxxxx http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | RE: [Haskell] Edison 1.2 and profiling, Simon Peyton-Jones |
|---|---|
| Next by Date: | Re: [GHC] #783: performance problem compiling large file, GHC |
| Previous by Thread: | RE: [Haskell] Edison 1.2 and profiling, Simon Peyton-Jones |
| Next by Thread: | Re: [GHC] #790: Redundant re-link when ".exe" omitted, GHC |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |