Created
July 20, 2015 18:11
-
-
Save zkxs/d797032f79a128461ad5 to your computer and use it in GitHub Desktop.
Cross compilation scripts
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/sh | |
PREFIX=i686-w64-mingw32 | |
export CC=$PREFIX-gcc | |
export CXX=$PREFIX-g++ | |
export CPP=$PREFIX-cpp | |
export RANLIB=$PREFIX-ranlib | |
exec "$@" |
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/sh | |
PREFIX=x86_64-w64-mingw32 | |
export CC=$PREFIX-gcc | |
export CXX=$PREFIX-g++ | |
export CPP=$PREFIX-cpp | |
export RANLIB=$PREFIX-ranlib | |
exec "$@" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment