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

meh, almost building maybe

parent da0007d2
...@@ -8,7 +8,7 @@ export GOMIPS=softfloat ...@@ -8,7 +8,7 @@ export GOMIPS=softfloat
#export CGO_ENABLED=1 #export CGO_ENABLED=1
#export CC="$PWD/../risc/clangwrap.sh" #export CC="$PWD/../risc/clangwrap.sh"
go build go build -v
cp go-ethereum ../risc/go-ethereum cp go-ethereum ../risc/go-ethereum
cd ../risc cd ../risc
file go-ethereum file go-ethereum
......
#!/bin/bash #!/bin/bash
export PATH="/usr/local/opt/llvm/bin:$PATH" export PATH="/usr/local/opt/llvm/bin"
echo "ARGS" $@ 1>&2 for arg do
clang $@ -lc -target mips-linux-gnu --sysroot /Users/kafka/fun/mips/sysroot -fuse-ld=lld -Wno-error -nostdlib 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