From: Mike Lowis Date: Wed, 21 Sep 2016 13:20:18 +0000 (-0400) Subject: Added bootstrap script for building a statically-linked musl-based cross compiler X-Git-Url: https://git.mdlowis.com/?a=commitdiff_plain;h=0219dbd47580ae5f709c8763b9555379d863d0a5;p=proto%2Falbase.git Added bootstrap script for building a statically-linked musl-based cross compiler --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..33ae8121 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +tags +cscope.out +project.vim diff --git a/bootstrap.sh b/bootstrap.sh new file mode 100755 index 00000000..0098b220 --- /dev/null +++ b/bootstrap.sh @@ -0,0 +1,14 @@ +#!/bin/sh +if [ ! -d musl-cross-make/stage1 ]; then + cd musl-cross-make + cp stage1.mak config.mak + make all install + make clean +fi +if [ ! -d musl-cross-make/stage2 ]; then + cd musl-cross-make + cp stage2.mak config.mak + export PATH="$PWD/stage1/bin:$PATH" + make all install + make clean +fi