I am following the instructions on this page: https://medium.com/@rakyll/go-1-5-cross-compilation-488092ba44ec to compile a go library as shared object using CGo , but I get this error:
CGO_ENABLED=1 CC=android-armeabi-gcc CXX=android-armeabi-g++ GOOS=android GOARCH=arm64 GOARM=7 go build -o libmylib.so -buildmode=c-shared mylib.go
# runtime/cgo
exec: "android-armeabi-gcc": executable file not found in $PATH
Where should I get the android-armeabi-gcc
from ? Are there instructions on how to create shared object for Android while building it on X86_64?