Commit da0007d2 authored by George Hotz's avatar George Hotz

clangwrap

parent ed02ca54
......@@ -6,8 +6,7 @@ export GOMIPS=softfloat
# brew install llvm
#export CGO_ENABLED=1
#export CC="/usr/local/opt/llvm/bin/clang -target mips-linux-gnu --sysroot /Users/kafka/build/cannon/risc/sysroot/"
#export CC="/Users/kafka/fun/mips/mips-gcc-4.8.1/bin/mips-elf-gcc"
#export CC="$PWD/../risc/clangwrap.sh"
go build
cp go-ethereum ../risc/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
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