From: Paul J R Date: Fri, 13 Nov 2009 17:51:42 +0000 (+1100) Subject: added a cleanup script X-Git-Url: http://git.pjr.cc/?a=commitdiff_plain;h=7ab6ba24b0a03deea974b74315afccec1de4df42;p=goDBhammer.git added a cleanup script --- diff --git a/src/cleanit b/src/cleanit new file mode 100755 index 0000000..d83b860 --- /dev/null +++ b/src/cleanit @@ -0,0 +1,15 @@ +rm -f *.cgo[1234].* *.so *.o *.a *.8 +cgo dbibridge.go + +8g -o _dbibridge_.8 dbibridge.cgo1.go dbibridge.cgo2.go +8c -FVw -I/export/src/external/golang//src/pkg/runtime dbibridge.cgo3.c +gopack grc dbibridge.a _dbibridge_.8 dbibridge.cgo3.8 +#cp dbibridge.a /export/src/external/golang//pkg/linux_386/dbibridge.a +gcc -m32 -fPIC -O2 -o dbibridge.cgo4.o -c dbibridge.cgo4.c +gcc -m32 -shared -L`pwd` -lpthread -lm -ldbi -o dbibridge_dbibridge.so dbibridge.cgo4.o +#cp dbibridge.so /export/src/external/golang//pkg/linux_386/./dbibridge_dbibridge.so + + + +8g -I. webconnector.go +8l -o godhammer -L. webconnector.8 diff --git a/src/makeit b/src/makeit old mode 100644 new mode 100755