EvilLinker, stage 1

This commit is contained in:
Joey Hess 2013-12-06 12:27:21 -04:00
parent a42285b87c
commit 01799cafc3
2 changed files with 68 additions and 5 deletions

View file

@ -28,8 +28,11 @@ withcyg cabal build || true
# Works around link failure https://ghc.haskell.org/trac/ghc/ticket/8596
# using a response file.
withcyg rm -f build.log gcc.opt
withcyg cabal build --ghc-options='-v -keep-tmp-files' > build.log 2>&1 || true
withcyg grep 'dist\\build\\git-annex\\git-annex.exe' build.log | withcyg grep -v Linking | withcyg sed -e 's/^"[^"]*" //' -e 's/\\/\//g' > gcc.opt
PATH="$HP/mingw/bin:$PATH"
gcc @gcc.opt
ghc --make Build/EvilLinker
Build/EvilLinker
#withcyg rm -f build.log gcc.opt
#withcyg cabal build --ghc-options='-v -keep-tmp-files' > build.log 2>&1 || true
#withcyg grep 'dist\\build\\git-annex\\git-annex.exe' build.log | withcyg grep -v Linking | withcyg sed -e 's/^"[^"]*" //' -e 's/\\/\//g' > gcc.opt
#PATH="$HP/mingw/bin:$PATH"
#gcc @gcc.opt