These additional options are available on System V Release 4 for compatibility with other compilers on those systems:
-GCreate a shared object. It is recommended that -symbolic or -shared be used instead.
-QyIdentify the versions of each tool used by the compiler, in a .ident assembler directive in the output.
-QnRefrain from adding .ident directives to the output file (this is the default).
-YP,dirsSearch the directories dirs, and no others, for libraries specified with -l.
-Ym,dirLook in the directory dir to find the M4 preprocessor. The assembler uses this option.
© Free Software Foundation
Licensed under the GNU Free Documentation License, Version 1.3.
https://gcc.gnu.org/onlinedocs/gcc-9.2.0/gcc/System-V-Options.html