Lines Matching +full:- +full:- +full:output +full:- +full:lib
2 #===----------------------------------------------------------------------===##
9 #===----------------------------------------------------------------------===##
32 def find_and_diagnose_missing(lib, search_paths): argument
33 if os.path.exists(lib):
34 return os.path.abspath(lib)
35 if not lib.startswith('lib') or not lib.endswith('.a'):
37 "It should start with 'lib' and end with '.a") % lib)
40 path = os.path.join(sp[0], lib)
43 print_and_exit("input '%s' does not exist" % lib)
48 Execute a command, capture and return its output.
59 if exitCode == -signal.SIGINT:
66 Execute a command and print its output on failure.
74 report += "Standard Output:\n--\n%s--" % out
76 report += "Standard Error:\n--\n%s--" % err
87 '-v', '--verbose', dest='verbose', action='store_true', default=False)
89 '-o', '--output', dest='output', required=True,
90 help='The output file. stdout is used if not given',
93 '-L', dest='search_paths',
97 '--ar', dest='ar_exe', required=False,
117 if not os.path.exists(os.path.dirname(args.output)):
118 print_and_exit("output path doesn't exist: '%s'" % args.output)
130 cmd = [ar_exe, 'qcs', args.output] + files