Created
February 13, 2017 03:31
-
-
Save masaeedu/75cfc850e24e55d811ec5240af90f292 to your computer and use it in GitHub Desktop.
WSL build of libiconv for cross-compilation practice
This file contains hidden or 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
# Download, extract source tarball | |
curl -O libiconv.tar.gz http://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.13.1.tar.gz | |
tar -xvf libiconv.tar.gz | |
cd libiconv-1.13.1 | |
# Autoconf build for mingw | |
./configure --host=x86_64-w64-mingw32 | |
make | |
mkdir -p /tmp/libiconv-staging | |
DESTDIR=/tmp/libiconv-staging make install | |
# If all goes well, your Windows binaries should be in their Unix folder structure under /tmp/libiconv-staging. Tar this up and share with your buds! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment