win11 go 1.24.6
Background: I had used fyne (uses cgo) for about four month ,this week I updated my windows11 and re-install (not update) my go c/c++ ... compilers ,and make some changes on file struct .
Issue: I updated my existing gcc path to make it act as the past one,but go compiler outputs
# runtime/cgo
cgo: C compiler "gcc" not found: exec: "gcc": executable file not found in %PATH%
To address it ,I tried to put gcc bin path into both system path and user path correctly ,but no use .Existing MinGw-w64 GCC 11.5.0 64bit, VS2022's and TDM-GCC in Path can't be identified .Eventually I download MSYS to solve .
Comment From: Lin-Ziyue
I'm a freshman of using github but not of go or cgo
Comment From: gabyhelp
Related Issues
- cmd/go: handle space in path to C compiler #43808 (closed)
- cgo: C compiler "D:\Program" not found. Is space symbol in CC variable bugged again ? #59512 (closed)
Related Documentation
(Emoji vote if this was helpful or unhelpful; more detailed feedback welcome in this discussion.)
Comment From: Lin-Ziyue
Related Issues
- cmd/go: handle space in path to C compiler #43808 (closed)
- cgo: C compiler "D:\Program" not found. Is space symbol in CC variable bugged again ? #59512 (closed)
Related Documentation
(Emoji vote if this was helpful or unhelpful; more detailed feedback welcome in this discussion.)
Maybe I input spce symbol at the end of my Path ,but #59512 have been fixed while I'm using go1.24
Comment From: seankhliao
Unlike many projects, the Go project does not use GitHub Issues for general discussion or asking questions. GitHub Issues are used for tracking bugs and proposals only.
For questions please refer to https://github.com/golang/go/wiki/Questions