Commit 48513d69 authored by George Hotz's avatar George Hotz

meh, almost building maybe

parent da0007d2
......@@ -8,7 +8,7 @@ export GOMIPS=softfloat
#export CGO_ENABLED=1
#export CC="$PWD/../risc/clangwrap.sh"
go build
go build -v
cp go-ethereum ../risc/go-ethereum
cd ../risc
file go-ethereum
......
#!/bin/bash
export PATH="/usr/local/opt/llvm/bin:$PATH"
echo "ARGS" $@ 1>&2
clang $@ -lc -target mips-linux-gnu --sysroot /Users/kafka/fun/mips/sysroot -fuse-ld=lld -Wno-error -nostdlib
export PATH="/usr/local/opt/llvm/bin"
for arg do
shift
[ "$arg" == "-g" ] && continue
#[ "$arg" == "-lpthread" ] && continue
[ "$arg" == "-Werror" ] && continue
#[ "$arg" == "-msoft-float" ] && continue
set -- "$@" "$arg"
done
#echo "ARGS" $@ 1>&2
exec clang -lc -target mips-linux-gnu --sysroot /Users/kafka/fun/mips/sysroot -fuse-ld=lld -Wno-error -nostdlib "$@"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment