added a cleanup script
[goDBhammer.git] / src / cleanit
1 rm -f *.cgo[1234].* *.so *.o *.a *.8
2 cgo dbibridge.go 
3
4 8g -o _dbibridge_.8 dbibridge.cgo1.go dbibridge.cgo2.go
5 8c -FVw -I/export/src/external/golang//src/pkg/runtime  dbibridge.cgo3.c
6 gopack grc dbibridge.a _dbibridge_.8 dbibridge.cgo3.8
7 #cp dbibridge.a /export/src/external/golang//pkg/linux_386/dbibridge.a
8 gcc -m32 -fPIC -O2 -o dbibridge.cgo4.o -c  dbibridge.cgo4.c
9 gcc -m32 -shared -L`pwd` -lpthread -lm -ldbi -o dbibridge_dbibridge.so dbibridge.cgo4.o 
10 #cp dbibridge.so /export/src/external/golang//pkg/linux_386/./dbibridge_dbibridge.so
11
12
13
14 8g -I. webconnector.go
15 8l -o godhammer -L. webconnector.8