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

Macros

#define NATIVE_SYSTEM_HEADER_COMPONENT   0
 

Functions

bool cpp_relocated (void)
 

Variables

const 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 chargcc_exec_prefix
 

Macro Definition Documentation

◆ NATIVE_SYSTEM_HEADER_COMPONENT

#define NATIVE_SYSTEM_HEADER_COMPONENT   0
CPP Library.
Copyright (C) 1986-2024 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

◆ cpp_relocated()

bool cpp_relocated ( void )
Return true if the toolchain is relocated.   

References gcc_exec_prefix, and ggc_alloc().

Referenced by add_standard_paths().

Variable Documentation

◆ cpp_EXEC_PREFIX

const char cpp_EXEC_PREFIX[] = STANDARD_EXEC_PREFIX
The configure-time execution prefix.  This is typically the lib/gcc
subdirectory of cpp_PREFIX.   

Referenced by add_standard_paths().

◆ cpp_GCC_INCLUDE_DIR

const char cpp_GCC_INCLUDE_DIR[] = ""

Referenced by add_standard_paths().

◆ cpp_GCC_INCLUDE_DIR_len

const size_t cpp_GCC_INCLUDE_DIR_len = 0

Referenced by add_standard_paths().

◆ cpp_include_defaults

const struct default_include cpp_include_defaults[]

Referenced by add_standard_paths().

◆ cpp_PREFIX

const char cpp_PREFIX[] = PREFIX
The configured prefix.   

Referenced by add_standard_paths().

◆ cpp_PREFIX_len

const size_t cpp_PREFIX_len = sizeof PREFIX - 1
The length of the configure-time prefix.   

Referenced by add_standard_paths().

◆ gcc_exec_prefix

const char* gcc_exec_prefix
This value is set by cpp_relocated at runtime  

Referenced by add_standard_paths(), cpp_relocated(), driver::finalize(), driver::maybe_print_and_exit(), and driver::set_up_specs().