toolchain

package
v0.0.0-...-c3cb3ef Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 22, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Linker

type Linker interface {
	GetTool() string
	GetFlags() []string
	GetLibs() []string
	KeepUnusedDependencies() string
	DropUnusedDependencies() string
	SetRpathLink(string) string
	SetVersionScript(string) string
	SetRpath([]string) string
	LinkWholeArchives([]string) string
	KeepSharedLibraryTransitivity() string
	DropSharedLibraryTransitivity() string
	GetForwardingLibFlags() string
}

type TgtType

type TgtType string
const (
	TgtTypeHost    TgtType = "host"
	TgtTypeTarget  TgtType = "target"
	TgtTypeUnknown TgtType = ""
)

type Toolchain

type Toolchain interface {
	GetArchiver() (tool string, flags []string)
	GetAssembler() (tool string, flags []string)
	GetCCompiler() (tool string, flags []string)
	GetCXXCompiler() (tool string, flags []string)
	GetLinker() Linker
	GetStripFlags() []string
	GetLibraryTocFlags() []string
	CheckFlagIsSupported(language, flag string) bool
	Is64BitOnly() bool
}

type ToolchainSet

type ToolchainSet struct {
	// contains filtered or unexported fields
}

func (*ToolchainSet) Configure

func (tcs *ToolchainSet) Configure(props *config.Properties)

func (*ToolchainSet) GetToolchain

func (tcs *ToolchainSet) GetToolchain(tgt TgtType) Toolchain

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL