mirror of
https://github.com/danog/gllvm.git
synced 2024-11-30 08:39:03 +01:00
18 lines
337 B
Bash
Executable File
18 lines
337 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
### building from a tarball with gllvm
|
|
|
|
go get github.com/SRI-CSL/gllvm/cmd/...
|
|
|
|
cd ${HOME}
|
|
wget https://cdn.kernel.org/pub/linux/kernel/v4.x/linux-4.14.39.tar.xz
|
|
tar xvf linux-4.14.39.tar.xz
|
|
cd linux-4.14.39
|
|
|
|
cp /vagrant/tinyconfig64 .config
|
|
|
|
make CC=gclang HOSTCC=gclang
|
|
|
|
get-bc -m -b built-in.o
|
|
get-bc -m vmlinux
|