Skip to content

Instantly share code, notes, and snippets.

@t-mat
Created April 3, 2014 23:00
Show Gist options
  • Save t-mat/9964579 to your computer and use it in GitHub Desktop.
Save t-mat/9964579 to your computer and use it in GitHub Desktop.
Building busybox-w32 on Ubuntu
sudo apt-get install -y git gcc-mingw32 libncurses5-dev
cd
git clone https://github.com/rmyorston/busybox-w32.git
cd ~/busybox-w32
find . -name "*" -exec sed -i "s/i686-pc-mingw32-/i686-w64-mingw32-/g" '{}' \;
make mingw32_defconfig
make menuconfig
# Exit menuconfig.
busybox sed -i '417 s/# undef HAVE_VASPRINTF$//g' include/platform.h
make
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment