Completely re-wrote build_tc.py. It now takes in a gcc_root and uses
that to build the toolchain compiler.

Also added some utility functions to utils.

Tested: Tested it for x86 and arm using a gcc svn checkout.

PRESUBMIT=passed
BUG=5417435
R=cmtice,shenhan,bjanakiraman,kbaclawski,yunlian,raymes
DELTA=386  (157 added, 192 deleted, 37 changed)
OCL=56823-p2
RCL=56870-p2
RDATE=2011/11/17 16:40:22


P4 change: 42660164
3 files changed
tree: 246a7a255e348bd4d0aa34980d04c55d10a6dcf0
  1. .git5_specs/
  2. v14/