Created
August 11, 2016 14:49
-
-
Save martell/07d03f57ee861718ea10f0982c0fb175 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
PREFIX=~/llvm | |
eval PREFIX=$PREFIX | |
#TARGET=i686-w64-mingw32 | |
#export CC=clang CXX=clang++ | |
tools="gendef genlib" | |
cd .. | |
mkdir build-mingw-w64-tools | |
local cur= | |
for cur in ${tools}; do | |
mkdir -p build-mingw-w64-tools/${cur} | |
cd build-mingw-w64-tools/${cur} | |
../../mingw-w64/mingw-w64-tools/${cur}/configure \ | |
--prefix=/usr | |
make | |
cd ../.. | |
done | |
local cur= | |
for cur in ${tools}; do | |
cd build-mingw-w64-tools/${cur} | |
make DESTDIR=$PREFIX install | |
cd ../.. | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment