Gcc

API Documentation:Gcc

Note: This class is incubating and may change in a future version of Gradle.

The GNU GCC tool chain.

Properties

PropertyDescription
path
Incubating

The path required for executing the tool chain. These are used to locate tools for this tool chain, and are prepended to the system PATH when executing these tools.

Methods

MethodDescription
path(pathEntries)
Incubating

Append an entry or entries to the tool chain path.

target(platform)
Incubating

Add support for a set of target platforms.

target(platform, action)
Incubating

Add configuration for a set of target platforms with additional configuration action.

target(platformName)
Incubating

Add support for target platform specified by name.

target(platformName, action)
Incubating

Add configuration for a target platform specified by name with additional configuration action.

target(platformNames)
Incubating

Add support for target platforms specified by name.

target(platformNames)
Incubating

Add support for target platform specified by name.

target(platformNames, action)
Incubating

Add configuration for multiple target platforms specified by name with additional configuration action.

target(platform)
Incubating

Add support for target platform.

target(platform, action)
Incubating

Add configuration for a target platform with additional configuration action.

Script blocks

No script blocks

Property details

List<File> path (read-only)

Note: This property is incubating and may change in a future version of Gradle.

The path required for executing the tool chain. These are used to locate tools for this tool chain, and are prepended to the system PATH when executing these tools.

Method details

void path(Object... pathEntries)

Note: This method is incubating and may change in a future version of Gradle.

Append an entry or entries to the tool chain path.

void target(Iterable<? extends Platform> platform)

Note: This method is incubating and may change in a future version of Gradle.

Add support for a set of target platforms.

void target(Iterable<? extends Platform> platform, Action<? super TargetedPlatformToolChain> action)

Note: This method is incubating and may change in a future version of Gradle.

Add configuration for a set of target platforms with additional configuration action.

void target(String platformName)

Note: This method is incubating and may change in a future version of Gradle.

Add support for target platform specified by name.

void target(String platformName, Action<? super TargetedPlatformToolChain> action)

Note: This method is incubating and may change in a future version of Gradle.

Add configuration for a target platform specified by name with additional configuration action.

void target(String... platformNames)

Note: This method is incubating and may change in a future version of Gradle.

Add support for target platforms specified by name.

void target(List<String> platformNames)

Note: This method is incubating and may change in a future version of Gradle.

Add support for target platform specified by name.

void target(List<String> platformNames, Action<? super TargetedPlatformToolChain> action)

Note: This method is incubating and may change in a future version of Gradle.

Add configuration for multiple target platforms specified by name with additional configuration action.

void target(Platform platform)

Note: This method is incubating and may change in a future version of Gradle.

Add support for target platform.

void target(Platform platform, Action<? super TargetedPlatformToolChain> action)

Note: This method is incubating and may change in a future version of Gradle.

Add configuration for a target platform with additional configuration action.