I'm having trouble with go get and cygwin. I get a bad directory: davidfr@mybox ~/gocode $ go get golang.org/x/tools/cmd/... # cd .; git clone https://go.googlesource.com/tools C:\cygwin\home\davidfr\gocode\src\golang.org\x\tools Cloning into 'C:\cygwin\home\davidfr\gocode\src\golang.org\x\tools'... fatal: Invalid path '/home/davidfr/gocode/C:\cygwin\home\davidfr\gocode\src\golang.org\x\tools': No such file or directory package golang.org/x/tools/cmd/...: exit status 128
davidfr@mybox ~/gocode $ go env set GOARCH=amd64 set GOBIN=C:\cygwin\home\davidfr\gocode\bin set GOEXE=.exe set GOHOSTARCH=amd64 set GOHOSTOS=windows set GOOS=windows set GOPATH=C:\cygwin\home\davidfr\gocode set GORACE= set GOROOT=C:\Users\davidfr\go set GOTOOLDIR=C:\Users\davidfr\go\pkg\tool\windows_amd64 set GCCGO=gccgo set CC=gcc set GOGCCFLAGS=-m64 -mthreads -fmessage-length=0 -fdebug-prefix-map=C:\cygwin64\tmp\go-build095468127=/tmp/go-build -gno-record-gcc-switches set CXX=g++ set CGO_ENABLED=1 set CGO_CFLAGS=-g -O2 set CGO_CPPFLAGS= set CGO_CXXFLAGS=-g -O2 set CGO_FFLAGS=-g -O2 set CGO_LDFLAGS=-g -O2 set PKG_CONFIG=pkg-config go build seems fine. Anyone have any tips? Frank On Monday, January 28, 2013 at 6:24:31 PM UTC-5, Bardia Jedi wrote: > > I'm having trouble setting up my work space om Cygwin > > So i went to this page and did this: > > hg clone https://golang-on-cygwin.googlecode.com/hg/ golang-on-cygwin > > and then i set up my paths > > export GOROOT=home/Bardia/golang-on-cygwin > > export GOBIN=home/Bardia/Gocode/bin > > export GOARCH=386 //<- I'm using a 32 bit windows > > export GOOS=linux // -,- > > export PATH=$PATH:$GOBIN > > > and then Im runing the all.bash in golang-on-cygwin/src > > I'm contiguously getting 2 errors: runtime and install > > > what am I doing wrong here? > > > //Bardia Jedi > > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.