Changeset a33f0a6 in mainline for tools/autotool.py
- Timestamp:
- 2011-08-03T17:34:57Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 1940326
- Parents:
- 52a79081 (diff), 3fab770 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tools/autotool.py
r52a79081 ra33f0a6 243 243 outf.close() 244 244 245 args = [common['CC'], "-S", "-o", PROBE_OUTPUT, PROBE_SOURCE] 245 args = [common['CC']] 246 args.extend(common['CC_ARGS']) 247 args.extend(["-S", "-o", PROBE_OUTPUT, PROBE_SOURCE]) 246 248 247 249 try: … … 361 363 typedefs.append({'oldtype': "signed %s" % probe['signed_sizes'][b], 'newtype': "int%u_t" % (b * 8)}) 362 364 365 macros.append({'oldmacro': "unsigned %s" % probe['unsigned_sizes'][b], 'newmacro': "UINT%u_T" % (b * 8)}) 366 macros.append({'oldmacro': "signed %s" % probe['signed_sizes'][b], 'newmacro': "INT%u_T" % (b * 8)}) 367 363 368 macros.append({'oldmacro': "\"%so\"" % probe['unsigned_strcs'][b], 'newmacro': "PRIo%u" % (b * 8)}) 364 369 macros.append({'oldmacro': "\"%su\"" % probe['unsigned_strcs'][b], 'newmacro': "PRIu%u" % (b * 8)}) … … 523 528 524 529 # Compiler 530 common['CC_ARGS'] = [] 525 531 if (config['COMPILER'] == "gcc_cross"): 526 532 if (config['PLATFORM'] == "abs32le"): … … 536 542 if (config['CROSS_TARGET'] == "mips32"): 537 543 gnu_target = "mipsel-linux-gnu" 544 common['CC_ARGS'].append("-mabi=32") 538 545 539 546 if (config['PLATFORM'] == "amd64"): … … 555 562 if (config['PLATFORM'] == "mips32"): 556 563 check_config(config, "MACHINE") 564 common['CC_ARGS'].append("-mabi=32") 557 565 558 566 if ((config['MACHINE'] == "lgxemul") or (config['MACHINE'] == "msim")): … … 563 571 target = "mips32eb" 564 572 gnu_target = "mips-linux-gnu" 573 574 if (config['PLATFORM'] == "mips64"): 575 check_config(config, "MACHINE") 576 common['CC_ARGS'].append("-mabi=64") 577 578 if (config['MACHINE'] == "msim"): 579 target = config['PLATFORM'] 580 gnu_target = "mips64el-linux-gnu" 565 581 566 582 if (config['PLATFORM'] == "ppc32"):
Note:
See TracChangeset
for help on using the changeset viewer.