Hi! On Sun, 08 Jul 2012 20:48:23 +0200, Matthias Klose <d...@ubuntu.com> wrote: > Please find attached v2 of the patch updated for trunk 20120706, x86 only, > tested on > x86-linux-gnu, KFreeBSD and the Hurd.
As suggested by Diego Novillo I have now attached this patch to <http://gcc.gnu.org/PR53468>. > I left in the comment about the multiarch names, but I'm fine to > change/discard > it. It was first required by Joseph Myers, then not found necessary by Paolo > Bonzini. The patch includes the changes suggested by Thomas Schwinge. I'm confirming that this version of that patch is identical to the patch that I have been using "ever since", only this current one includes additional documentation changes, and the s%eight%ninth documentation change is missing from gcc/genmultilib. > Ok for the trunk? > > Matthias > 2012-06-25 Matthias Klose <d...@ubuntu.com> > > * doc/invoke.texi: Document -print-multiarch. > * doc/install.texi: Document --enable-multiarch. > * doc/fragments.texi: Document MULTILIB_OSDIRNAMES, MULTIARCH_DIRNAME. > * configure.ac: Add --enable-multiarch option. > * configure.in: Regenerate. > * Makefile.in (s-mlib): Pass MULTIARCH_DIRNAME to genmultilib. > enable_multiarch, with_float: New macros. > if_multiarch: New macro, define in terms of enable_multiarch. > * genmultilib: Add new argument for the multiarch name. > * gcc.c (multiarch_dir): Define. > (for_each_path): Search for multiarch suffixes. > (driver_handle_option): Handle multiarch option. > (do_spec_1): Pass -imultiarch if defined. > (main): Print multiarch. > (set_multilib_dir): Separate multilib and multiarch names > from multilib_select. > (print_multilib_info): Ignore multiarch names in multilib_select. > * incpath.c (add_standard_paths): Search the multiarch include dirs. > * cppdeault.h (default_include): Document multiarch in multilib > member. > * cppdefault.c: [LOCAL_INCLUDE_DIR, STANDARD_INCLUDE_DIR] Add an > include directory for multiarch directories. > * common.opt: New options --print-multiarch and -imultilib. > * config.gcc <i[34567]86-*-linux* | x86_64-*-linux*> (tmake_file): > Include i386/t-linux. > <i[34567]86-*-kfreebsd*-gnu | x86_64-*-kfreebsd*-gnu> (tmake_file): > Include i386/t-kfreebsd. > <i[34567]86-*-gnu*> (tmake_file): Include i386/t-gnu. > * config/i386/t-linux64: Add multiarch names in > MULTILIB_OSDIRNAMES, define MULTIARCH_DIRNAME. > * config/i386/t-gnu: New file. > * config/i386/t-kfreebsd: Likewise. > * config/i386/t-linux: Likewise. Grüße, Thomas
pgpvUbsKmY0A9.pgp
Description: PGP signature