gradle
8.4

# GccCompatibleToolChain

@Incubating
interface GccCompatibleToolChain : NativeToolChain(source)

A ToolChain that can handle additional platforms simply by configuring the NativeBinary.

#### Inheritors

Gcc
Clang

## Functions

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