GCC Middle and Back End API Reference
file-find.c File 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

Function Documentation

void add_prefix ( )
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().


Variable Documentation

bool debug = false
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/.