diff options
Diffstat (limited to 'src/cmd/cgo/Makefile')
-rw-r--r-- | src/cmd/cgo/Makefile | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/src/cmd/cgo/Makefile b/src/cmd/cgo/Makefile index b05d6b5c8..2c62cbdf5 100644 --- a/src/cmd/cgo/Makefile +++ b/src/cmd/cgo/Makefile @@ -13,28 +13,3 @@ GOFILES=\ util.go\ include $(GOROOT)/src/Make.cmd - -# Tests -# TODO(rsc): Delete - -gmp: - make cgo - cgo gmp.go - gcc -fPIC -O2 -o gcc.o -c _cgo_gcc.c - gcc -shared -o gmp.so gcc.o -L$(GOROOT)/pkg/$(GOOS)_$(GOARCH) -lcgo -lgmp - 6c -D_64BIT -I$(GOROOT)/src/pkg/runtime _cgo_c.c - 6g _cgo_go.go - gopack grc gmp.a _cgo_c.6 _cgo_go.6 - 6g pidigits.go - 6l pidigits.6 - LD_LIBRARY_PATH=.:$(GOROOT)/pkg/$(GOOS)_$(GOARCH) 6.out - -stdio: - make cgo - cgo stdio.go - gcc -fPIC -O2 -o gcc.o -c _cgo_gcc.c - gcc -shared -Wl,--rpath -Wl,$(GOROOT)/pkg/$(GOOS)_$(GOARCH) -o main.so gcc.o -L$(GOROOT)/pkg/$(GOOS)_$(GOARCH) -lcgo - 6c -D_64BIT -I$(GOROOT)/src/pkg/runtime _cgo_c.c - 6g _cgo_go.go - 6l _cgo_c.6 _cgo_go.6 - LD_LIBRARY_PATH=.:$(GOROOT)/pkg/$(GOOS)_$(GOARCH) 6.out |