Changes between Version 2 and Version 3 of Soclib Cc/Soclib Conf
- Timestamp:
- Jun 7, 2010, 11:50:29 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Soclib Cc/Soclib Conf
v2 v3 196 196 == Toolchain == 197 197 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`. 198 201 `prefix`:: 199 202 a string prepended to all toolchain tools. … … 221 224 * ''mode'' is selected in current build environment, or on command line (flag `-m`) 222 225 226 Example: 227 {{{ 228 config.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 223 244 == Build environment == 224 245 … … 236 257 is located in. If object file has a longer name, 237 258 it is hashed to get a shorter one, around 12 chars. 238 `repos`::239 A directory to store temporary build files.240 259 `cache_file`:: 241 260 A path to a file where to store metadata file indexation cache. Default is