diff options
author | msebor <msebor@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-10-21 22:24:41 +0000 |
---|---|---|
committer | msebor <msebor@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-10-21 22:24:41 +0000 |
commit | 8fb42bbc39752a5b25215ddfe32682bfe2bf3902 (patch) | |
tree | 0e86ee5c584e34b06f641c070503e72ef5231aaf /gcc/config/darwin.opt | |
parent | cfec10ded5e70b421fc269e6255c5f77c1d6743b (diff) | |
download | gcc-8fb42bbc39752a5b25215ddfe32682bfe2bf3902.tar.gz |
Improve --help output to generate references to option aliases.
gcc/
PR driver/68043
* opts.c (undocumented_msg, use_diagnosed_msg): New globals.
(print_filtered_help): Reference aliased option's name and encourage
readers to use it in preference to the alias if the former is not
documented. Mention when using an option is diagnosed.
* gcc.c (display_help): End each sentence with a period.
* ada/gcc-interface/lang.opt: End each sentence that describes
an option with a period.
* c-family/c.opt: Same.
* common.opt: Same.
* config/aarch64/aarch64.opt: Same.
* config/alpha/alpha.opt: Same.
* config/arc/arc.opt: Same.
* config/arm/arm.opt: Same.
* config/avr/avr.opt: Same.
* config/bfin/bfin.opt: Same.
* config/c6x/c6x.opt: Same.
* config/cr16/cr16.opt: Same.
* config/cris/cris.opt: Same.
* config/cris/linux.opt: Same.
* config/darwin.opt: Same.
* config/epiphany/epiphany.opt: Same.
* config/fr30/fr30.opt: Same.
* config/frv/frv.opt: Same.
* config/ft32/ft32.opt: Same.
* config/g.opt: Same.
* config/h8300/h8300.opt: Same.
* config/i386/cygming.opt: Same.
* config/i386/djgpp.opt: Same.
* config/i386/i386.opt: Same.
* config/i386/interix.opt: Same.
* config/i386/mingw-w64.opt: Same.
* config/i386/mingw.opt: Same.
* config/ia64/ia64.opt: Same.
* config/ia64/ilp32.opt: Same.
* config/iq2000/iq2000.opt: Same.
* config/linux.opt: Same.
* config/lm32/lm32.opt: Same.
* config/lynx.opt: Same.
* config/m32c/m32c.opt: Same.
* config/m32r/m32r.opt: Same.
* config/m68k/ieee.opt: Same.
* config/m68k/m68k.opt: Same.
* config/mcore/mcore.opt: Same.
* config/mep/mep.opt: Same.
* config/microblaze/microblaze.opt: Same.
* config/mips/mips.opt: Same.
* config/mmix/mmix.opt: Same.
* config/mn10300/mn10300.opt: Same.
* config/moxie/moxie.opt: Same.
* config/msp430/msp430.opt: Same.
* config/nios2/elf.opt: Same.
* config/nios2/nios2.opt: Same.
* config/nvptx/nvptx.opt: Same.
* config/pa/pa-hpux.opt: Same.
* config/pa/pa-hpux1010.opt: Same.
* config/pa/pa-hpux1111.opt: Same.
* config/pa/pa-hpux1131.opt: Same.
* config/pa/pa.opt: Same.
* config/pa/pa64-hpux.opt: Same.
* config/pdp11/pdp11.opt: Same.
* config/rl78/rl78.opt: Same.
* config/rs6000/476.opt: Same.
* config/rs6000/aix64.opt: Same.
* config/rs6000/darwin.opt: Same.
* config/rs6000/linux64.opt: Same.
* config/rs6000/rs6000.opt: Same.
* config/rs6000/sysv4.opt: Same.
* config/s390/s390.opt: Same.
* config/s390/tpf.opt: Same.
* config/sh/sh.opt: Same.
* config/sol2.opt: Same.
* config/sparc/long-double-switch.opt: Same.
* config/sparc/sparc.opt: Same.
* config/spu/spu.opt: Same.
* config/stormy16/stormy16.opt: Same.
* config/tilegx/tilegx.opt: Same.
* config/tilepro/tilepro.opt: Same.
* config/v850/v850.opt: Same.
* config/vax/vax.opt: Same.
* config/visium/visium.opt: Same.
* config/vms/vms.opt: Same.
* config/vxworks.opt: Same.
* config/xtensa/xtensa.opt: Same.
* fortran/lang.opt: Same.
testsuite/
PR driver/68043
* gcc.misc-tests/help.exp: Adjust.
* lib/options.exp (check_for_options): Add detail to output.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@229155 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/darwin.opt')
-rw-r--r-- | gcc/config/darwin.opt | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/gcc/config/darwin.opt b/gcc/config/darwin.opt index eb1afe73786..518a6d14901 100644 --- a/gcc/config/darwin.opt +++ b/gcc/config/darwin.opt @@ -111,7 +111,7 @@ Driver mconstant-cfstrings Target Report Var(darwin_constant_cfstrings) Init(1) -Generate compile-time CFString objects +Generate compile-time CFString objects. multi_module Driver RejectNegative Alias(Zmulti_module) @@ -208,20 +208,20 @@ Driver Wnonportable-cfstrings Target Report Var(darwin_warn_nonportable_cfstrings) Init(1) Warning -Warn if constant CFString objects contain non-portable characters +Warn if constant CFString objects contain non-portable characters. ; Use new-style pic stubs if this is true, x86 only so far. matt-stubs Target Report Var(darwin_macho_att_stub) Init(1) -Generate AT&T-style stubs for Mach-O +Generate AT&T-style stubs for Mach-O. mdynamic-no-pic Target Common Report Mask(MACHO_DYNAMIC_NO_PIC) -Generate code suitable for executables (NOT shared libs) +Generate code suitable for executables (NOT shared libs). mfix-and-continue Target Report Var(darwin_fix_and_continue) -Generate code suitable for fast turn around debugging +Generate code suitable for fast turn around debugging. ; The Init here is for the convenience of GCC developers, so that cc1 ; and cc1plus don't crash if no -mmacosx-version-min is passed. The @@ -229,23 +229,23 @@ Generate code suitable for fast turn around debugging ; Init is never used. mmacosx-version-min= Target Joined Report Var(darwin_macosx_version_min) Init(DEF_MIN_OSX_VERSION) -The earliest MacOS X version on which this program will run +The earliest MacOS X version on which this program will run. mone-byte-bool Target RejectNegative Report Var(darwin_one_byte_bool) -Set sizeof(bool) to 1 +Set sizeof(bool) to 1. fapple-kext Target Report C++ Var(flag_apple_kext) -Generate code for darwin loadable kernel extensions +Generate code for darwin loadable kernel extensions. mkernel Target Report Var(flag_mkernel) -Generate code for the kernel or loadable kernel extensions +Generate code for the kernel or loadable kernel extensions. iframework Target RejectNegative C ObjC C++ ObjC++ Joined Separate --iframework <dir> Add <dir> to the end of the system framework include path +-iframework <dir> Add <dir> to the end of the system framework include path. X Driver |