gcc

gcc/llvm detection.

waflib.Tools.gcc.find_gcc(conf)[source]

Configuration Method bound to waflib.Configure.ConfigurationContext

Find the program gcc, and if present, try to detect its version number

waflib.Tools.gcc.gcc_common_flags(conf)[source]

Configuration Method bound to waflib.Configure.ConfigurationContext

Common flags for gcc on nearly all platforms

waflib.Tools.gcc.gcc_modifier_win32(conf)[source]

Configuration Method bound to waflib.Configure.ConfigurationContext Configuration flags for executing gcc on Windows

waflib.Tools.gcc.gcc_modifier_cygwin(conf)[source]

Configuration Method bound to waflib.Configure.ConfigurationContext Configuration flags for executing gcc on Cygwin

waflib.Tools.gcc.gcc_modifier_darwin(conf)[source]

Configuration Method bound to waflib.Configure.ConfigurationContext Configuration flags for executing gcc on MacOS

waflib.Tools.gcc.gcc_modifier_aix(conf)[source]

Configuration Method bound to waflib.Configure.ConfigurationContext Configuration flags for executing gcc on AIX

waflib.Tools.gcc.gcc_modifier_hpux(conf)[source]

Configuration Method bound to waflib.Configure.ConfigurationContext

waflib.Tools.gcc.gcc_modifier_openbsd(conf)[source]

Configuration Method bound to waflib.Configure.ConfigurationContext

waflib.Tools.gcc.gcc_modifier_osf1V(conf)[source]

Configuration Method bound to waflib.Configure.ConfigurationContext

waflib.Tools.gcc.gcc_modifier_platform(conf)[source]

Configuration Method bound to waflib.Configure.ConfigurationContext Execute platform-specific functions based on gcc_modifier_+NAME

waflib.Tools.gcc.configure(conf)[source]

Configuration for gcc

waflib.Tools.gcc.conf(f)

Decorator: attach new configuration functions to waflib.Build.BuildContext and waflib.Configure.ConfigurationContext. The methods bound will accept a parameter named ‘mandatory’ to disable the configuration errors:

def configure(conf):
        conf.find_program('abc', mandatory=False)
Parameters:f (function) – method to bind