*I met a problem*
*I compiled a native ELF binary running on android arm7 on Ubuntu.*

export GOOS=android
export GOARCH=arm
export GOARM=7
export CGO_ENABLED=1
export CGO_CFLAGS="-g -O2 
export CC=arm-linux-androideabi-gcc
export CC_FOR_TARGET=arm-linux-androideabi-gcc
export CXX=arm-linux-androideabi-g++
go build

# runtime/cgo
*_cgo_export.c:3:20: fatal error: stdlib.h: No such file or directory*
  *#include <stdlib.h>*

*How can I solve this error?*

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.
To view this discussion on the web visit 

Reply via email to