You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
go version = 1.0.2
windows 7
gopath=c:\dir1;c:\dir2
directory structure:
c:\dir1\src\
hello\
hello.go
c:\dir1\bin
c:\dir2\src\
hello\
hello.go
c:\dir2\bin
Trigger of the problem:
I run "go install" in either of the "hello" directories
What is the expected output?
a generated hello.exe in the "bin" directory related to the base dir where the src dir is in
What do you see instead?
hello.exe is generated in the same "hello" directory as the source hello.go is
Conclusion so far:
if the same project name occurs in more than one subpaths of a gopath, go install will behave differently and put the .exe file not in the bin but in the src directory
Which compiler are you using (5g, 6g, 8g, gccgo)?
Which operating system are you using?
Which version are you using? (run 'go version')
Please provide any additional information below.
The text was updated successfully, but these errors were encountered:
by xapwing:
The text was updated successfully, but these errors were encountered: