Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DiscoverToolchains ¶
func ExtractIncludePaths ¶
Types ¶
type Installation ¶
type Installation struct { Ver CCompiler toolchain.Executable `json:"c-compiler"` }
func DiscoverInstallations ¶
func DiscoverInstallations(feedback func(string)) []*Installation
func (*Installation) PrintSummary ¶
func (i *Installation) PrintSummary(w io.Writer)
type Ver ¶
type Ver struct { FullVersion string `json:"full-version"` Version string `json:"version"` Target string `json:"target"` ThreadModel string `json:"thread-model"` CCIncludeDirs []string `json:"cc-include-dirs"` CXXIncludeDirs []string `json:"cxx-include-dirs"` }
Ver is a version info extracted from `-v` output Include dirs are extracted with output from - `-xc -E -v -` - `-xc++ -E -v -`
func QueryVersion ¶
Click to show internal directories.
Click to hide internal directories.