Skip to content

gccprefix

starkos edited this page Apr 10, 2021 · 7 revisions

⚠️ We have a new website! Visit now for the most update to date documentation.
       This wiki is no longer being maintained.


Sets a prefix to be prepended to commands used by the GCC toolchain.

gccprefix ("prefix")

GCC toolsets, and cross-compilers in particular, typically have some common prefix prepended to all tools in the GCC suite. This prefix will be prepended to all such tools.

Prefixes are usually composed of multiple segments separated by '-', and the prefix should contain the final dash. For instance, a toolchain of the style powerpc-eabi-gcc should have gccprefix powerpc-eabi-.

Parameters

A gccprefix string which is to be prepended to the GCC tools.

Applies To

Project configurations.

Availability

Premake 5.0 or later.

Examples

Set a GCC prefix to be prepended to the compiler tools.

gccprefix "powerpc-eabi-"
Clone this wiki locally