E:\gocode\src\github.com\mxk\go-sqlite>go env
set GOARCH=amd64
set GOBIN=
set GOCHAR=6
set GOEXE=.exe
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOOS=windows
set GOPATH=E:/home/LD/zhgo
set GORACE=
set GOROOT=D:\mplus\go
set GOTOOLDIR=D:\mplus\go\pkg\tool\windows_amd64
set CC=gcc
set GOGCCFLAGS=-m64 -mthreads -fmessage-length=0
set CXX=g++
set CGO_ENABLED=1
E:\gocode\src\github.com\mxk\go-sqlite>go version
go version go1.3.3 windows/amd64
E:\gocode\src\github.com\mxk\go-sqlite>go test github.com/mxk/go-sqlite/sqlite3
testmain
github.com/mxk/go-sqlite/sqlite3(.text): undefined: github.com/mxk/go-sqlite/sqlite3(/575) github.com/mxk/go-sqlite/sqlite3(.text): undefined: github.com/mxk/go-sqlite/sqlite3(/735) github.com/mxk/go-sqlite/sqlite3(.text): undefined: github.com/mxk/go-sqlite/sqlite3(/706) FAIL github.com/mxk/go-sqlite/sqlite3 [build failed]
E:\gocode\src\github.com\mxk\go-sqlite>go env set GOARCH=amd64 set GOBIN= set GOCHAR=6 set GOEXE=.exe set GOHOSTARCH=amd64 set GOHOSTOS=windows set GOOS=windows set GOPATH=E:/home/LD/zhgo set GORACE= set GOROOT=D:\mplus\go set GOTOOLDIR=D:\mplus\go\pkg\tool\windows_amd64 set CC=gcc set GOGCCFLAGS=-m64 -mthreads -fmessage-length=0 set CXX=g++ set CGO_ENABLED=1
E:\gocode\src\github.com\mxk\go-sqlite>go version go version go1.3.3 windows/amd64