Changes between Version 2 and Version 3 of Soclib Cc/Soclib Conf


Ignore:
Timestamp:
Jun 7, 2010, 11:50:29 PM (14 years ago)
Author:
Nicolas Pouillon
Comment:

Flatten tool_map

Legend:

Unmodified
Added
Removed
Modified
  • Soclib Cc/Soclib Conf

    v2 v3  
    196196== Toolchain ==
    197197
     198 `tool_<KEY>`::
     199  executable name and/or full path for a given tool.[[BR]]
     200  Used `<KEY>s` are: `CXX`, `CC`, `CXX_LINKER`, `CC_LINKER`, `LD`, `VHDL`, `VERILOG`.
    198201 `prefix`::
    199202  a string prepended to all toolchain tools.
     
    221224 * ''mode'' is selected in current build environment, or on command line (flag `-m`)
    222225
     226Example:
     227{{{
     228config.toolchain_64 = Config(
     229        base = config.toolchain,
     230        tool_CC = 'ccache gcc-4.2',
     231        tool_CXX = 'ccache g++-4.2',
     232        tool_CC_LINKER = 'gcc-4.2',
     233        tool_CXX_LINKER = 'g++-4.2',
     234        tool_LD = 'ld'
     235        max_processes = 3,
     236        cflags = config.toolchain.cflags + ['-Os', '-m64'],
     237        libs = config.toolchain.libs + [
     238            '-liberty',
     239            '-L/sw/lib', '-lz', '-m64'
     240        ],
     241)
     242}}}
     243
    223244== Build environment ==
    224245
     
    236257  is located in. If object file has a longer name,
    237258  it is hashed to get a shorter one, around 12 chars.
    238  `repos`::
    239   A directory to store temporary build files.
    240259 `cache_file`::
    241260  A path to a file where to store metadata file indexation cache. Default is