GCC Middle and Back End API Reference
cppdefault.c File Reference
#include "config.h"
#include "system.h"
#include "coretypes.h"
#include "tm.h"
#include "cppdefault.h"
Include dependency graph for cppdefault.c:

Macros

#define NATIVE_SYSTEM_HEADER_COMPONENT   0

Functions

bool cpp_relocated ()

Variables

struct default_include cpp_include_defaults []
const char cpp_GCC_INCLUDE_DIR [] = ""
const size_t cpp_GCC_INCLUDE_DIR_len = 0
const char cpp_PREFIX [] = PREFIX
const size_t cpp_PREFIX_len = sizeof PREFIX - 1
const char cpp_EXEC_PREFIX [] = STANDARD_EXEC_PREFIX
const char * gcc_exec_prefix

Macro Definition Documentation

#define NATIVE_SYSTEM_HEADER_COMPONENT   0

CPP Library. Copyright (C) 1986-2013 Free Software Foundation, Inc. Contributed by Per Bothner, 1994-95. Based on CCCP program by Paul Rubin, June 1986 Adapted to ANSI C, Richard Stallman, Jan 1987

This program 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.

This program 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 this program; see the file COPYING3. If not see http://www.gnu.org/licenses/.


Function Documentation

bool cpp_relocated ( void  )

Return true if the toolchain is relocated.

A relocated toolchain ignores standard include directories.

     Check if the toolchain was relocated?   

Variable Documentation

const char cpp_EXEC_PREFIX[] = STANDARD_EXEC_PREFIX

The configure-time execution prefix. This is typically the lib/gcc subdirectory of cpp_PREFIX.

const char cpp_GCC_INCLUDE_DIR[] = ""

Referenced by add_standard_paths().

const size_t cpp_GCC_INCLUDE_DIR_len = 0
struct default_include cpp_include_defaults[]

Referenced by add_standard_paths().

const char cpp_PREFIX[] = PREFIX

The configured prefix.

const size_t cpp_PREFIX_len = sizeof PREFIX - 1

The length of the configure-time prefix.

const char* gcc_exec_prefix

This value is set by cpp_relocated at runtime