For AI agents: the documentation index is at https://docs.gradle.org/llms.txt. Request any page with the header Accept: text/markdown to get Markdown. User manual pages are also available as Markdown by replacing .html with .md in the URL.

Gcc

The GNU GCC tool chain.

Since

2.2

Functions

Link copied to clipboard
abstract fun eachPlatform(action: Action<in GccPlatformToolChain>)
Adds an action that can fine-tune the tool configuration for each platform supported by this tool chain.
Link copied to clipboard
abstract fun getDisplayName(): String
Returns a human consumable name for this tool chain.
Link copied to clipboard
abstract fun getName(): String
The object's name.
Link copied to clipboard
abstract fun getPath(): List<File>
The paths setting required for executing the tool chain.
Link copied to clipboard
abstract fun path(pathEntries: Array<Any>)
Append an entry or entries to the tool chain path.
Link copied to clipboard
abstract fun setTargets(platformNames: Array<String>)
Override the current platform configuration with target platforms specified by name
Link copied to clipboard
abstract fun target(platformName: String)
Add support for target platform specified by name.
abstract fun target(platformName: String, action: Action<in GccPlatformToolChain>)
Add configuration for a target platform specified by name with additional configuration action.