Documentation
¶
Overview ¶
Package gcc provides a compiler and debugger implementation that uses the installed GCC toolchain on the host system.
It registers the g++ compiler and the gdb debugger.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Compiler ¶
type Compiler struct {
// contains filtered or unexported fields
}
Compiler is an instance of a g++ compiler.
func NewCompiler ¶
NewCompiler initializes a g++ compiler. It looks up an executable using the provided name or uses the executable at the given path, if a path is specified.
func (*Compiler) Info ¶
func (c *Compiler) Info() toolchain.CompilerInfo
type Debugger ¶
type Debugger struct {
// contains filtered or unexported fields
}
Debugger is a GDB debugger.
func NewDebugger ¶
NewDebugger creates a gdb debugger instance. It looks up an executable using the provided name or uses the executable at the given path, if a path is specified.
func (*Debugger) Info ¶
func (d *Debugger) Info() toolchain.DebuggerInfo
Click to show internal directories.
Click to hide internal directories.