We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When i tried to build a static library with 'go build' tools, i got this error:
The text was updated successfully, but these errors were encountered:
invalid value "c-archive" for flag -buildmode: buildmode c-archive not supported on android/arm .....
it`s a cross-compile Project, my environment is : export GOOS=android export GOARCH=arm export GOARM=7 export CGO_ENABLED=1 export CC=/app/go-hoofoo/android-ndk-r20/toolchains/llvm/prebuilt/linux-x86_64/bin/armv7a-linux-androideabi28-clang export CXX=/app/go-hoofoo/android-ndk-r20/toolchains/llvm/prebuilt/linux-x86_64/bin/armv7a-linux-androideabi28-clang++
Sorry, something went wrong.
the compile command was: go build -buildmode=c-archive -o libfoo.a *.go
Can any body help me ?
Please see https://github.com/golang/go/wiki/Questions.
No branches or pull requests
When i tried to build a static library with 'go build' tools, i got this error:
The text was updated successfully, but these errors were encountered: