But i set it, You can see on dockerfile. ENV GO_VERSION=1.7.4 ENV INSTALLED_GOLANG=1.6 ENV GOROOT_BOOTSTRAP=/usr/lib/go-${INSTALLED_GOLANG} ENV GOOS=android ENV GOARCH=arm ENV GOARM=7 ENV CGO_ENABLED=1
Em 18 de dez de 2016 7:25 AM, "Will Newton" <will.new...@gmail.com> escreveu: > On Sun, Dec 18, 2016 at 4:09 AM, Paulo Coutinho <pa...@prsolucoes.com> > wrote: > > Hi, > > > > Im making a free repository to show how to compile Golang for ARM v7 > > (Android). > > > > Link: > > https://github.com/prsolucoes/golang-for-arm > > > > Error: > > arm-linux-androideabi-gcc: error: unrecognized command line option '-m64' > > This suggests you're passing an x86_64 flag to an ARM compiler, for > example, CC is set but GOARCH is not. > -- 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.