Skip to content

Instantly share code, notes, and snippets.

@fredcy
Created November 26, 2013 14:59
Show Gist options
  • Save fredcy/7659773 to your computer and use it in GitHub Desktop.
Save fredcy/7659773 to your computer and use it in GitHub Desktop.
This is the output of running "go build -n" in go/src/github.com/mattn/go-oci8
#
# github.com/mattn/go-oci8
#
mkdir -p $WORK/github.com/mattn/go-oci8/_obj/
mkdir -p $WORK/github.com/mattn/
cd /Users/fcy/go/src/github.com/mattn/go-oci8
pkg-config --cflags oci8
pkg-config --libs oci8
/usr/local/go/pkg/tool/darwin_amd64/cgo -objdir $WORK/github.com/mattn/go-oci8/_obj/ -- -I $WORK/github.com/mattn/go-oci8/_obj/ oci8.go
/usr/local/go/pkg/tool/darwin_amd64/6c -F -V -w -I $WORK/github.com/mattn/go-oci8/_obj/ -I /usr/local/go/pkg/darwin_amd64 -o $WORK/github.com/mattn/go-oci8/_obj/_cgo_defun.6 -D GOOS_darwin -D GOARCH_amd64 $WORK/github.com/mattn/go-oci8/_obj/_cgo_defun.c
LIBGCC=$(gcc -I . -g -O2 -fPIC -m64 -pthread -fno-common -print-libgcc-file-name)
gcc -I . -g -O2 -fPIC -m64 -pthread -fno-common -I $WORK/github.com/mattn/go-oci8/_obj/ -o $WORK/github.com/mattn/go-oci8/_obj/_cgo_main.o -c $WORK/github.com/mattn/go-oci8/_obj/_cgo_main.c
gcc -I . -g -O2 -fPIC -m64 -pthread -fno-common -I $WORK/github.com/mattn/go-oci8/_obj/ -o $WORK/github.com/mattn/go-oci8/_obj/_cgo_export.o -c $WORK/github.com/mattn/go-oci8/_obj/_cgo_export.c
gcc -I . -g -O2 -fPIC -m64 -pthread -fno-common -I $WORK/github.com/mattn/go-oci8/_obj/ -o $WORK/github.com/mattn/go-oci8/_obj/oci8.cgo2.o -c $WORK/github.com/mattn/go-oci8/_obj/oci8.cgo2.c
gcc -I . -g -O2 -fPIC -m64 -pthread -fno-common -o $WORK/github.com/mattn/go-oci8/_obj/_cgo_.o $WORK/github.com/mattn/go-oci8/_obj/_cgo_main.o $WORK/github.com/mattn/go-oci8/_obj/_cgo_export.o $WORK/github.com/mattn/go-oci8/_obj/oci8.cgo2.o
/usr/local/go/pkg/tool/darwin_amd64/cgo -objdir $WORK/github.com/mattn/go-oci8/_obj/ -dynimport $WORK/github.com/mattn/go-oci8/_obj/_cgo_.o -dynout $WORK/github.com/mattn/go-oci8/_obj/_cgo_import.c
/usr/local/go/pkg/tool/darwin_amd64/6c -F -V -w -I $WORK/github.com/mattn/go-oci8/_obj/ -I /usr/local/go/pkg/darwin_amd64 -o $WORK/github.com/mattn/go-oci8/_obj/_cgo_import.6 -D GOOS_darwin -D GOARCH_amd64 $WORK/github.com/mattn/go-oci8/_obj/_cgo_import.c
gcc -I . -g -O2 -fPIC -m64 -pthread -fno-common -o $WORK/github.com/mattn/go-oci8/_obj/_all.o $WORK/github.com/mattn/go-oci8/_obj/_cgo_export.o $WORK/github.com/mattn/go-oci8/_obj/oci8.cgo2.o -Wl,-r -nostdlib $LIBGCC
/usr/local/go/pkg/tool/darwin_amd64/6g -o $WORK/github.com/mattn/go-oci8/_obj/_go_.6 -p github.com/mattn/go-oci8 -D _/Users/fcy/go/src/github.com/mattn/go-oci8 -I $WORK $WORK/github.com/mattn/go-oci8/_obj/_cgo_gotypes.go $WORK/github.com/mattn/go-oci8/_obj/oci8.cgo1.go
/usr/local/go/pkg/tool/darwin_amd64/pack grcP $WORK $WORK/github.com/mattn/go-oci8.a $WORK/github.com/mattn/go-oci8/_obj/_go_.6 $WORK/github.com/mattn/go-oci8/_obj/_cgo_import.6 $WORK/github.com/mattn/go-oci8/_obj/_cgo_defun.6 $WORK/github.com/mattn/go-oci8/_obj/_all.o
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment