public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Jakub Jelinek <jakub@redhat.com>
To: gcc-patches@gcc.gnu.org
Subject: [PATCH] Document -print-multi-os-directory in invoke.texi
Date: Wed, 21 Oct 2009 12:25:00 -0000	[thread overview]
Message-ID: <20091021120055.GI14664@tyan-ft48-01.lab.bos.redhat.com> (raw)

Hi!

This switch isn't documented in invoke.texi, only in gcc --help.
Ok for trunk?

2009-10-21  Jakub Jelinek  <jakub@redhat.com>

	* doc/invoke.texi: Document -print-multi-os-directory.

--- gcc/doc/invoke.texi.jj	2009-10-15 22:07:38.000000000 +0200
+++ gcc/doc/invoke.texi	2009-10-21 10:20:10.000000000 +0200
@@ -321,7 +321,7 @@ Objective-C and Objective-C++ Dialects}.
 -femit-struct-debug-baseonly -femit-struct-debug-reduced @gol
 -femit-struct-debug-detailed@r{[}=@var{spec-list}@r{]} @gol
 -p  -pg  -print-file-name=@var{library}  -print-libgcc-file-name @gol
--print-multi-directory  -print-multi-lib @gol
+-print-multi-directory  -print-multi-lib  -print-multi-os-directory @gol
 -print-prog-name=@var{program}  -print-search-dirs  -Q @gol
 -print-sysroot -print-sysroot-headers-suffix @gol
 -save-temps -save-temps=cwd -save-temps=obj -time@r{[}=@var{file}@r{]}}
@@ -5531,6 +5531,16 @@ that enable them.  The directory name is
 @samp{-}, without spaces between multiple switches.  This is supposed to
 ease shell-processing.
 
+@item -print-multi-os-directory
+@opindex print-multi-os-directory
+Print the path to OS libraries for the selected
+multilib, relative to some @code{lib} subdirectory.  If OS libraries are
+present in the @code{lib} subdirectory and no multilibs are used, this is usually
+just @code{.}, if OS libraries are present in @code{libSUFFIX} sibling directories
+this prints e.g. @code{../lib64}, @code{../lib} or @code{../lib32}, or if
+OS libraries are present in @code{lib/SUBDIR} subdirectories it prints e.g.
+@code{amd64}, @code{sparcv9} or @code{ev6}.
+
 @item -print-prog-name=@var{program}
 @opindex print-prog-name
 Like @option{-print-file-name}, but searches for a program such as @samp{cpp}.

	Jakub

             reply	other threads:[~2009-10-21 12:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-21 12:25 Jakub Jelinek [this message]
2009-10-21 13:00 ` Joseph S. Myers

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20091021120055.GI14664@tyan-ft48-01.lab.bos.redhat.com \
    --to=jakub@redhat.com \
    --cc=gcc-patches@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).