package gc

import "cmd/compile/internal/gc"

Index

Functions

func Main

func Main(archInit func(*ssagen.ArchInfo))

Main parses flags and Go source files specified in the command-line arguments, type-checks the parsed Go package, compiles functions to machine code, and finally writes the compiled package definition to disk.

Source Files

compile.go export.go main.go obj.go util.go

Version
v1.26.2 (latest)
Published
Mar 27, 2026
Platform
darwin/amd64
Imports
53 packages
Last checked
42 seconds ago

Tools for package owners.