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
assembler
Incubating

The assembler.

cCompiler
Incubating

The C++ compiler.

cppCompiler
Incubating

The C compiler.

linker
Incubating

The linker.

path
Incubating

The paths setting 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.

staticLibArchiver
Incubating

The static library archiver.

Property details

GccTool assembler (read-only)

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

The assembler.

GccTool cCompiler (read-only)

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

The C++ compiler.

GccTool cppCompiler (read-only)

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

The C compiler.

GccTool linker (read-only)

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

The linker.

List<File> path (read-only)

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

The paths setting 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.

GccTool staticLibArchiver (read-only)

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

The static library archiver.

Script blocks

No script blocks

Methods

MethodDescription
addPlatformConfiguration(platformConfig)
Incubating

Add configuration for a target platform.

path(pathEntries)
Incubating

Append an entry or entries to the tool chain path.

Method details

void addPlatformConfiguration(TargetPlatformConfiguration platformConfig)

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

Add configuration for a target platform.

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.