Skip to content

building musl cross crosscompiler

rofl0r edited this page Jul 13, 2016 · 3 revisions

download musl-cross http://github.com/GregorR/musl-cross

put this into your config.sh https://gist.github.com/rofl0r/6de66b479c97381e5e8cb69d730eba39

change setting for CORE and ARCH for your use case, and eventually CC_BASE_PREFIX if you're unhappy with the default.

if you dont wan't to download GCC and binutils twice, rm -rf tarballs dir and symlink sabotage's tarballs dir into the current dir.

run ./build.sh