|
| 1 | +g++ (GCC) 4.4.7 20120313 (Red Hat 4.4.7-16) |
| 2 | +Copyright (C) 2010 Free Software Foundation, Inc. |
| 3 | +This is free software; see the source for copying conditions. There is NO |
| 4 | +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
| 5 | + |
| 6 | +Usage: g++ [options] file... |
| 7 | +Options: |
| 8 | + -pass-exit-codes Exit with highest error code from a phase |
| 9 | + --help Display this information |
| 10 | + --target-help Display target specific command line options |
| 11 | + --help={target|optimizers|warnings|params|[^]{joined|separate|undocumented}}[,...] |
| 12 | + Display specific types of command line options |
| 13 | + (Use '-v --help' to display command line options of sub-processes) |
| 14 | + --version Display compiler version information |
| 15 | + -dumpspecs Display all of the built in spec strings |
| 16 | + -dumpversion Display the version of the compiler |
| 17 | + -dumpmachine Display the compiler's target processor |
| 18 | + -print-search-dirs Display the directories in the compiler's search path |
| 19 | + -print-libgcc-file-name Display the name of the compiler's companion library |
| 20 | + -print-file-name=<lib> Display the full path to library <lib> |
| 21 | + -print-prog-name=<prog> Display the full path to compiler component <prog> |
| 22 | + -print-multi-directory Display the root directory for versions of libgcc |
| 23 | + -print-multi-lib Display the mapping between command line options and |
| 24 | + multiple library search directories |
| 25 | + -print-multi-os-directory Display the relative path to OS libraries |
| 26 | + -print-sysroot Display the target libraries directory |
| 27 | + -print-sysroot-headers-suffix Display the sysroot suffix used to find headers |
| 28 | + -Wa,<options> Pass comma-separated <options> on to the assembler |
| 29 | + -Wp,<options> Pass comma-separated <options> on to the preprocessor |
| 30 | + -Wl,<options> Pass comma-separated <options> on to the linker |
| 31 | + -Xassembler <arg> Pass <arg> on to the assembler |
| 32 | + -Xpreprocessor <arg> Pass <arg> on to the preprocessor |
| 33 | + -Xlinker <arg> Pass <arg> on to the linker |
| 34 | + -combine Pass multiple source files to compiler at once |
| 35 | + -save-temps Do not delete intermediate files |
| 36 | + -pipe Use pipes rather than intermediate files |
| 37 | + -time Time the execution of each subprocess |
| 38 | + -specs=<file> Override built-in specs with the contents of <file> |
| 39 | + -std=<standard> Assume that the input sources are for <standard> |
| 40 | + --sysroot=<directory> Use <directory> as the root directory for headers |
| 41 | + and libraries |
| 42 | + -B <directory> Add <directory> to the compiler's search paths |
| 43 | + -b <machine> Run gcc for target <machine>, if installed |
| 44 | + -V <version> Run gcc version number <version>, if installed |
| 45 | + -v Display the programs invoked by the compiler |
| 46 | + -### Like -v but options quoted and commands not executed |
| 47 | + -E Preprocess only; do not compile, assemble or link |
| 48 | + -S Compile only; do not assemble or link |
| 49 | + -c Compile and assemble, but do not link |
| 50 | + -o <file> Place the output into <file> |
| 51 | + -x <language> Specify the language of the following input files |
| 52 | + Permissible languages include: c c++ assembler none |
| 53 | + 'none' means revert to the default behavior of |
| 54 | + guessing the language based on the file's extension |
| 55 | + |
| 56 | +Options starting with -g, -f, -m, -O, -W, or --param are automatically |
| 57 | + passed on to the various sub-processes invoked by g++. In order to pass |
| 58 | + other options on to these processes the -W<letter> options must be used. |
| 59 | + |
| 60 | +For bug reporting instructions, please see: |
| 61 | +<http://bugzilla.redhat.com/bugzilla>. |
0 commit comments