Added witchcraft compiler collection

This commit is contained in:
Michael Rodler 2016-08-13 16:22:58 +02:00
parent 56e3270274
commit 615f07a17f
3 changed files with 24 additions and 0 deletions

12
wcc/install Executable file
View file

@ -0,0 +1,12 @@
#!/bin/bash -e
git clone --depth 1 https://github.com/endrazine/wcc
pushd wcc
git submodule init
git submodule update
make
mv bin/ ../
popd
pushd bin/
sed -i "s&/usr/bin/wsh&$(pwd)/wsh&" ./wcch

5
wcc/install-root-archlinux Executable file
View file

@ -0,0 +1,5 @@
#!/bin/bash
set -eu -o pipefail
pacman -Syu --noconfirm --needed clang uthash readline capstone \
libelf binutils gsl

7
wcc/install-root-debian Executable file
View file

@ -0,0 +1,7 @@
#!/bin/bash
set -eu -o pipefail
apt-get install clang libbfd-dev uthash-dev \
libelf-dev libcapstone-dev \
libreadline6 libreadline6-dev \
libiberty-dev libgsl-dev