Lines Matching refs:libgo
24 rm -rf libgo.a libgo.h testp pkg
28 GOPATH=$(pwd) go install -buildmode=c-archive libgo
29 $(go env CC) $(go env GOGCCFLAGS) $ccargs -o testp main.c pkg/$(go env GOOS)_$(go env GOARCH)/libgo.a
31 rm -f libgo.a libgo.h testp
33 # Test building libgo other than installing it.
36 GOPATH=$(pwd) go build -buildmode=c-archive src/libgo/libgo.go
37 $(go env CC) $(go env GOGCCFLAGS) $ccargs -o testp main.c libgo.a
39 rm -f libgo.a libgo.h testp
41 GOPATH=$(pwd) go build -buildmode=c-archive -o libgo.a libgo
42 $(go env CC) $(go env GOGCCFLAGS) $ccargs -o testp main.c libgo.a
44 rm -rf libgo.a libgo.h testp pkg