EvilLinker, stage 1
This commit is contained in:
parent
a42285b87c
commit
01799cafc3
2 changed files with 68 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue