gccgoimporter

package
v0.0.0-...-911da49 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2014 License: BSD-3-Clause Imports: 15 Imported by: 0

Documentation

Overview

Package gccgoimporter implements Import for gccgo-generated object files.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetImporter

func GetImporter(searchpaths []string) types.Importer

Types

type GccgoInstallation

type GccgoInstallation struct {
	// Version of gcc (e.g. 4.8.0).
	GccVersion string

	// Target triple (e.g. x86_64-unknown-linux-gnu).
	TargetTriple string

	// Built-in library paths used by this installation.
	LibPaths []string
}

Information about a specific installation of gccgo.

func (*GccgoInstallation) GetImporter

func (inst *GccgoInstallation) GetImporter(incpaths []string) types.Importer

Return an importer that searches incpaths followed by the gcc installation's built-in search paths and the current directory.

func (*GccgoInstallation) InitFromDriver

func (inst *GccgoInstallation) InitFromDriver(gccgoPath string) (err error)

Ask the driver at the given path for information for this GccgoInstallation.

func (*GccgoInstallation) SearchPaths

func (inst *GccgoInstallation) SearchPaths() (paths []string)

Return the list of export search paths for this GccgoInstallation.

Jump to

Keyboard shortcuts

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