From 2b6dd222bbb82a052974fa931473702700ecfda9 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Fri, 20 Jan 2006 21:00:03 +0000 Subject: re PR libstdc++/25524 (libstdc++ headers should go in multilib directories) PR libstdc++/25524 * cppdefault.h (struct default_include): Add multilib flag. * cppdefault.c (cpp_include_defaults): Set it. * c.opt (-imultilib): New option. * c-opts.c (imultilib): New. (c_common_handle_option): Handle -imultilib. (c_common_post_options): Likewise. * c-incpath.c (add_standard_paths, register_include_chains): Likewise. * c-incpath.h (register_include_chains): Add extra parameter. * gcc.c (do_spec_1): Generate -imultilib option. (The Specs Language): Update %I description. (process_command): Update copyright notice. * doc/cppopts.texi (-imultilib): Document. * doc/invoke.texi (-imultilib): Include in option summary. (%I): Update specs documentation. libstdc++-v3: * include/Makefile.am: Install host-specific headers in multilib subdirectory. * include/Makefile.in: Regenerate. From-SVN: r110037 --- gcc/c-incpath.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'gcc/c-incpath.h') diff --git a/gcc/c-incpath.h b/gcc/c-incpath.h index c309844cf0a..3f268b79d57 100644 --- a/gcc/c-incpath.h +++ b/gcc/c-incpath.h @@ -1,5 +1,5 @@ /* Set up combined include path for the preprocessor. - Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc. + Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 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 @@ -18,7 +18,8 @@ Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ extern void split_quote_chain (void); extern void add_path (char *, int, int, bool); extern void register_include_chains (cpp_reader *, const char *, - const char *, int, int, int); + const char *, const char *, + int, int, int); extern void add_cpp_dir_path (struct cpp_dir *, int); struct target_c_incpath_s { -- cgit v1.2.1