Patchwork [doc] Fix doc for -isysroot on Darwin (PR18555)

login
register
mail settings
Submitter FX
Date Sept. 3, 2010, 7:33 p.m.
Message ID <2DB69283-A434-49CE-AFFF-C28A132735EB@gmail.com>
Download mbox | patch
Permalink /patch/63709/
State New
Headers show

Comments

FX - Sept. 3, 2010, 7:33 p.m.
The patch below fixes the old PR18555 (6 years old) by documenting the specific behaviour of -isysroot on Darwin.

Tested with "make doc html pdf", OK to commit?

FX




2010-09-03  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>

        PR other/18555
        * doc/cppopts.texi (-isysroot): Document Darwin behaviour.
Mike Stump - Sept. 3, 2010, 9:03 p.m.
On Sep 3, 2010, at 12:33 PM, FX wrote:
> The patch below fixes the old PR18555 (6 years old) by documenting the specific behaviour of -isysroot on Darwin.
> 
> Tested with "make doc html pdf", OK to commit?

I'm fine with it...  Let's see if anyone else wants to object...
FX - Sept. 8, 2010, 7:40 p.m.
>> The patch below fixes the old PR18555 (6 years old) by documenting the specific behaviour of -isysroot on Darwin.
> 
> I'm fine with it...  Let's see if anyone else wants to object...

Seemingly not, so I committed (rev. 164022).

FX

Patch

Index: gcc/doc/cppopts.texi
===================================================================
--- cppopts.texi	(revision 163809)
+++ cppopts.texi	(working copy)
@@ -492,7 +492,9 @@ 
 @item -isysroot @var{dir}
 @opindex isysroot
 This option is like the @option{--sysroot} option, but applies only to
-header files.  See the @option{--sysroot} option for more information.
+header files (except for Darwin targets, where it applies to both header
+files and libraries).  See the @option{--sysroot} option for more
+information.
 
 @item -imultilib @var{dir}
 @opindex imultilib