On Friday, September 15, 2017 at 7:15:25 PM UTC+2, ulde...@strongdm.com wrote:
> Hi, > > > It fails when I run: > ``` > CC="${GOPATH}/android-ndk/bin/arm-linux-androideabi-gcc" GOOS=android > GOARCH=arm GOARM=7 go build > # github.com/ucirello/android-test > warning: unable to find runtime/cgo.a > ``` > > This seems like the standard library is not built for android. Have you tried running CC_FOR_TARGET=<path-to-GOARCH-compiler> GOARCH=... ./androidtest.bash from the src directory? With that, you shouldn't need to set CC. - elias -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.