summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-12-06 12:44:40 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-12-06 12:44:40 -0400
commit9dc88bc04cfad71319e484e8fc1797d0852d4a28 (patch)
tree0c4337068d6003da76a3cfb7e342ecb20b10fa1a
parent7bc8f5a93ada714a83e244870638fdca2e65fc78 (diff)
debug
-rw-r--r--Build/EvilLinker.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/Build/EvilLinker.hs b/Build/EvilLinker.hs
index a30636204..2dcf0f1ea 100644
--- a/Build/EvilLinker.hs
+++ b/Build/EvilLinker.hs
@@ -80,5 +80,7 @@ main = do
ghcout <- getOutput "cabal"
["build", "--ghc-options=-v -keep-tmp-files"]
gccout <- runAtFile parseGhcLink ghcout "gcc.opt" ["-v"]
+ writeFile "gcc.out" gccout
collect1out <- runAtFile parseCollect1 gccout "collect1.opt" ["-v"]
+ writeFile "collect1.out" collect1out
void $ runAtFile parseLd collect1out "ld.opt" []