diff options
author | Joseph Myers <joseph@codesourcery.com> | 2006-01-20 21:00:03 +0000 |
---|---|---|
committer | Joseph Myers <jsm28@gcc.gnu.org> | 2006-01-20 21:00:03 +0000 |
commit | 2b6dd222bbb82a052974fa931473702700ecfda9 (patch) | |
tree | f48eda30525ee2ab01e82568bb55e5e407a8a604 /gcc/c.opt | |
parent | 6018b746be62c693c34c10e760172d34a1dfc4f9 (diff) | |
download | gcc-2b6dd222bbb82a052974fa931473702700ecfda9.zip gcc-2b6dd222bbb82a052974fa931473702700ecfda9.tar.gz gcc-2b6dd222bbb82a052974fa931473702700ecfda9.tar.bz2 |
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
Diffstat (limited to 'gcc/c.opt')
-rw-r--r-- | gcc/c.opt | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1,5 +1,5 @@ ; Options for the C, ObjC, C++ and ObjC++ front ends. -; Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc. +; Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc. ; ; This file is part of GCC. ; @@ -757,6 +757,10 @@ imacros C ObjC C++ ObjC++ Joined Separate -imacros <file> Accept definition of macros in <file> +imultilib +C ObjC C++ ObjC++ Joined Separate +-imultilib <dir> Set <dir> to be the multilib include subdirectory + include C ObjC C++ ObjC++ Joined Separate -include <file> Include the contents of <file> before other files |