GccToolChain Class

(ProjectExplorer::GccToolChain)
Inherits: ToolChain

Public Types

Public Functions

GccToolChain(Core::Id typeId, Detection d)
QStringList platformCodeGenFlags() const
QStringList platformLinkerFlags() const
void resetToolChain(const Utils::FileName &)
void setPlatformCodeGenFlags(const QStringList &)
void setPlatformLinkerFlags(const QStringList &)
void setTargetAbi(const Abi &)
QString version() const

Static Public Members

void addCommandPathToEnvironment(const Utils::FileName &command, Utils::Environment &env)

Protected Types

Protected Functions

GccToolChain(const GccToolChain &) = default
virtual CompilerFlags defaultCompilerFlags() const
virtual QString defaultDisplayName() const
virtual DetectedAbisResult detectSupportedAbis() const
virtual QString detectVersion() const
QByteArray macroCache(const QStringList &allCxxflags) const
void setCompilerCommand(const Utils::FileName &path)
void setMacroCache(const QStringList &allCxxflags, const QByteArray &macros) const
void setOptionsReinterpreter(const OptionsReinterpreter &optionsReinterpreter)
void setOriginalTargetTriple(const QString &targetTriple)
void setSupportedAbis(const QList<Abi> &m_abis)

Static Protected Members

QList<HeaderPath> gccHeaderPaths(const Utils::FileName &gcc, const QStringList &args, const QStringList &env)

Member Function Documentation

GccToolChain::GccToolChain(Core::Id typeId, Detection d)

Default constructs an instance of GccToolChain.

[default protected] GccToolChain::GccToolChain(const GccToolChain &)

Copy constructor.

[static] void GccToolChain::addCommandPathToEnvironment(const Utils::FileName &command, Utils::Environment &env)

[virtual protected] CompilerFlags GccToolChain::defaultCompilerFlags() const

[virtual protected] QString GccToolChain::defaultDisplayName() const

[virtual protected] DetectedAbisResult GccToolChain::detectSupportedAbis() const

[virtual protected] QString GccToolChain::detectVersion() const

[static protected] QList<HeaderPath> GccToolChain::gccHeaderPaths(const Utils::FileName &gcc, const QStringList &args, const QStringList &env)

[protected] QByteArray GccToolChain::macroCache(const QStringList &allCxxflags) const

See also setMacroCache().

QStringList GccToolChain::platformCodeGenFlags() const

See also setPlatformCodeGenFlags().

QStringList GccToolChain::platformLinkerFlags() const

See also setPlatformLinkerFlags().

void GccToolChain::resetToolChain(const Utils::FileName &)

[protected] void GccToolChain::setCompilerCommand(const Utils::FileName &path)

[protected] void GccToolChain::setMacroCache(const QStringList &allCxxflags, const QByteArray &macros) const

See also macroCache().

[protected] void GccToolChain::setOptionsReinterpreter(const OptionsReinterpreter &optionsReinterpreter)

[protected] void GccToolChain::setOriginalTargetTriple(const QString &targetTriple)

void GccToolChain::setPlatformCodeGenFlags(const QStringList &)

See also platformCodeGenFlags().

void GccToolChain::setPlatformLinkerFlags(const QStringList &)

See also platformLinkerFlags().

[protected] void GccToolChain::setSupportedAbis(const QList<Abi> &m_abis)

void GccToolChain::setTargetAbi(const Abi &)

QString GccToolChain::version() const