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
What steps will reproduce the problem?
If possible, include a link to a program on play.golang.org.
1. Install a library using gccgo as the compiler, e.g. go install -compiler gccgo
launchpad.net/gnuflag
2. Run go clean -i launchpad.net/gnuflag
What is the expected output?
$GOPATH/pkg/gccgo_$GOOS_$GOARCH/launchpad.net/libgnuflag.a should have been deleted.
What do you see instead?
$GOPATH/pkg/gccgo_$GOOS_$GOARCH/launchpad.net/libgnuflag.a has not been deleted.
Which compiler are you using (5g, 6g, 8g, gccgo)?
gccgo
Which operating system are you using?
Ubuntu Trusty
Which version are you using? (run 'go version')
go version devel +7abe32ccffb1 Wed Jan 22 15:55:56 2014 -0800 linux/amd64
Please provide any additional information below.
If you build the go tool with gccgo, go clean does remove the artefact so it's possible
that instead of go clean removing gccgo built things by default, go clean should take a
-compiler gccgo flag like build, install etc to know where to look.
The text was updated successfully, but these errors were encountered:
clean -i is working as intended. It removes what go install would create, not everything
every possible go install would create. It doesn't remove things for other architectures
or operating systems and should also not remove things for other compilers.
However, clean should accept -compiler so that you can remove what go install -compiler
installs.
The text was updated successfully, but these errors were encountered: