GCC Middle and Back End API Reference
|
Functions | |
void | find_file_set_debug () |
char * | find_a_file () |
void | add_prefix () |
void | prefix_from_env () |
void | prefix_from_string () |
Variables | |
static bool | debug = false |
void add_prefix | ( | ) |
Add an entry for PREFIX to prefix list PPREFIX.
References len, path_prefix::max_len, prefix_list::next, path_prefix::plist, prefix_list::prefix, and strlen().
Referenced by add_sysrooted_prefix(), driver_handle_option(), main(), prefix_from_string(), and process_command().
char* find_a_file | ( | ) |
References debug, free(), len, path_prefix::max_len, prefix_list::next, path_prefix::plist, prefix_list::prefix, and strlen().
Referenced by end_going_arg(), execute(), find_file(), include_spec_function(), main(), and read_specs().
void find_file_set_debug | ( | ) |
References debug, and debug_state().
Referenced by main().
void prefix_from_env | ( | ) |
Take the value of the environment variable ENV, break it into a path, and add of the entries to PPREFIX.
References getenv(), and prefix_from_string().
Referenced by main(), and setup_prefixes().
void prefix_from_string | ( | ) |
References add_prefix(), debug, free(), and strlen().
Referenced by prefix_from_env(), and setup_prefixes().
|
static |
@verbatim Utility functions for finding files relative to GCC binaries.
Copyright (C) 1992-2013 Free Software Foundation, Inc.
This file is part of GCC.
GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version.
GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with GCC; see the file COPYING3. If not see http://www.gnu.org/licenses/.