Lines Matching refs:tool
236 --tools=<prefix or binary:fullpath>[,...] \$PATH for object tool pathnames
5141 foreach my $tool (keys %obj_tool_map) {
5142 $obj_tool_map{$tool} = ConfigureTool($obj_tool_map{$tool});
5146 # Returns the path of a caller-specified object tool. If --tools or
5147 # JEPROF_TOOLS are specified, then returns the full path to the tool
5151 my $tool = shift;
5156 # <tool>:<path>. First we look for an entry of type (b) for our
5157 # tool. If one is found, we use it. Otherwise, we consider all the
5161 if ($tools =~ m/(,|^)\Q$tool\E:([^,]*)/) {
5166 next if ($prefix =~ /:/); # ignore "tool:fullpath" entries in the list
5167 if (-x $prefix . $tool) {
5168 $path = $prefix . $tool;
5173 error("No '$tool' found with prefix specified by " .
5181 if (-x "$dirname$tool") {
5182 $path = "$dirname$tool";
5184 $path = $tool;
5187 if ($main::opt_debug) { print STDERR "Using '$path' for '$tool'.\n"; }